Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
grow the tmps (mortal) stack exponentially rather than linearly
As with the value stack and the save stack, this gives us constant amortized growth per element. After this patch the profiler shows the "SvPV_shrink_to_cur(sv)" and "sv = sv_2mortal(newSV(80))" calls in do_readline as the hotspots for the io unheated test case, using 55% of the measured time in total. Fixes Perl#21654
- Loading branch information