Optimize build_player_lookup and _lookup_pid in strategy.py -- build_player_lookup uses iterrows() on ~5700 rows (~30-50ms per call, called ~12 times per pick). Replace with to_dict("index"). _lookup_pid does O(n) DataFrame scan per call -- build a name->pid dict once instead. Several strategies already build player_lookup but don't pass it through to _lookup_pid.
Migrated from TODO.md (section: postseason) on 2026-07-09. TODO.md is being retired in favor of GitHub Issues.
Optimize
build_player_lookupand_lookup_pidin strategy.py --build_player_lookupusesiterrows()on ~5700 rows (~30-50ms per call, called ~12 times per pick). Replace withto_dict("index")._lookup_piddoes O(n) DataFrame scan per call -- build aname->piddict once instead. Several strategies already buildplayer_lookupbut don't pass it through to_lookup_pid.Migrated from
TODO.md(section: postseason) on 2026-07-09. TODO.md is being retired in favor of GitHub Issues.