Commit 97a075d
[Autoloop: tsb-perf-evolve] Iteration 73: inline cache check to eliminate hot-path method call
Crossover c067 (inline cache check) × c072 (comparison sort cold path).
Remove _svGetCache() method; inline the if-ascending / ternary-naPosition
check directly in sortValues() to eliminate one function-call overhead on
the hot (cache-hit) path. Cold path (_sortValuesColdPath) unchanged.
Run: https://github.com/githubnext/tsb/actions/runs/27003615171
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent a52fcf9 commit 97a075d
1 file changed
Lines changed: 12 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
722 | 722 | | |
723 | 723 | | |
724 | 724 | | |
725 | | - | |
726 | | - | |
727 | | - | |
728 | | - | |
729 | | - | |
730 | | - | |
731 | | - | |
732 | | - | |
733 | 725 | | |
734 | 726 | | |
735 | 727 | | |
| |||
788 | 780 | | |
789 | 781 | | |
790 | 782 | | |
791 | | - | |
| 783 | + | |
792 | 784 | | |
793 | | - | |
794 | | - | |
| 785 | + | |
| 786 | + | |
| 787 | + | |
| 788 | + | |
| 789 | + | |
| 790 | + | |
| 791 | + | |
| 792 | + | |
| 793 | + | |
| 794 | + | |
| 795 | + | |
795 | 796 | | |
796 | 797 | | |
797 | 798 | | |
| |||
0 commit comments