Repository navigation
Commit 5f2c696
committed
Shift before truncating block starts in binary_fuse8_populate (fixes #80)
The cast to uint32_t was applied to i * size before the shift, so the
product wrapped above 2^32 (from about 8.4M keys) and block starts landed
in low positions, slowing populate several fold. Match the fuse16 code.1 parent 3e10fb1 commit 5f2c696
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
332 | 332 | | |
333 | 333 | | |
334 | 334 | | |
335 | | - | |
| 335 | + | |
336 | 336 | | |
337 | 337 | | |
338 | 338 | | |
| |||
0 commit comments