Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
220: Optimize insert_range for large ranges r=Kerollmops a=Dr-Emann In the case where we're inserting enough that we know it will end up too large to store as an array, convert to a bitmap before adding the range This leads to some quite large speed ups for large range insertions: ``` insert_range/from_empty_20000 time: [226.64 ns 226.89 ns 227.16 ns] thrpt: [88.042 Gelem/s 88.147 Gelem/s 88.245 Gelem/s] change: time: [-99.517% -99.516% -99.514%] (p = 0.00 < 0.05) thrpt: [+20484% +20547% +20612%] Performance has improved. Found 12 outliers among 100 measurements (12.00%) 1 (1.00%) low mild 7 (7.00%) high mild 4 (4.00%) high severe ``` Co-authored-by: Zachary Dremann <[email protected]>
- Loading branch information