You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
perf: replace std::sort with inline insertion sort (-1.5KB flash)
Custom sortStrings() in WebManager_History.cpp replaces two std::sort
calls. Eliminates qsort (1,444B) from newlib link.
Insertion sort is O(n^2) but n <= 365 (daily history files), worst case
~66K comparisons at 133MHz = ~2ms — negligible for HTTP request context.
Flash: 98.1% -> 97.9% (saved 1,544 bytes)
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
0 commit comments