Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Third optimization batch — map fusion #95
Also addresses issue #92, but without the proposed laws.
In order to avoid stack-overflow errors, repeated
The rationale is thus — from my research the default stack size ranges from 320 KB on 32-bits operating systems to 1 MB on 64-bits operating systems. From my own tests a stack frame triggered by a
In a real
The important thing to watch out for in this optimization is that a degrading
For benchmarking I've introduced 2 new benchmarks:
The other benchmarks:
Here I seem to have suffered a slight regression — not sure if this is a fluke or not, since the differences are very small, however if this is real, I need to investigate whether I can gain some extra throughput from somewhere else (win some, lose some).
@@ Coverage Diff @@ ## master #95 +/- ## ========================================= + Coverage 87.4% 88.01% +0.6% ========================================= Files 20 20 Lines 413 434 +21 Branches 35 35 ========================================= + Hits 361 382 +21 Misses 52 52