Closed kelindar closed 3 years ago
This PR speeds up Range() and Filter() by roughly 30% according to my benchmarks. Specifically, Filter() is now branchless but uses slightly more stack space.
Range()
Filter()
30%
This PR speeds up
Range()
andFilter()
by roughly30%
according to my benchmarks. Specifically,Filter()
is now branchless but uses slightly more stack space.