mirror of
https://github.com/vinta/awesome-python.git
synced 2026-04-12 02:31:43 +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> |
||
|---|---|---|
| .. | ||
| favicon.svg | ||
| main.js | ||
| style.css | ||