Commit 7dd9912
committed
ALP: Inline decode with hoisted multipliers for double decompression
Hoist DOUBLE_POW10[factor] and DOUBLE_POW10_NEGATIVE[exponent] lookups
out of the decode loop and inline the multiplication directly, avoiding
per-element method call overhead and enabling better JIT vectorization.
Only applied to the double path; float decode keeps the decodeFloat()
method call as JIT produces better code for the smaller method.1 parent c24b6a0 commit 7dd9912
1 file changed
Lines changed: 7 additions & 3 deletions
Lines changed: 7 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
411 | 411 | | |
412 | 412 | | |
413 | 413 | | |
414 | | - | |
415 | | - | |
416 | | - | |
| 414 | + | |
| 415 | + | |
| 416 | + | |
| 417 | + | |
| 418 | + | |
| 419 | + | |
| 420 | + | |
417 | 421 | | |
418 | 422 | | |
419 | 423 | | |
| |||
0 commit comments