mirror of
https://github.com/vinta/awesome-python.git
synced 2026-04-11 14:21:45 +08:00
Calling getSortValue inside the comparator ran DOM queries on every comparison (O(n log n) reads). Hoisting into a forEach beforehand reduces that to O(n). Batching row appends through a DocumentFragment also avoids repeated reflows during table reorder. Co-Authored-By: Claude <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| static | ||
| templates | ||
| tests | ||
| build.py | ||
| fetch_github_stars.py | ||
| readme_parser.py | ||