mirror of
https://github.com/PR0M3TH3AN/bitvid.git
synced 2026-10-27 16:02:26 +00:00
Replace sequential for...of loop with Promise.all in createWatchHistoryPointerSource to resolve video metadata concurrently. This eliminates the N+1 query pattern and measurably improves performance when multiple pointers require hydration via hooks. Measured improvement: ~47x faster for 50 items in benchmark. Co-authored-by: PR0M3TH3AN <[email protected]>