fallintoplace opened a new pull request, #1817: URL: https://github.com/apache/iceberg-go/pull/1817
## What - Hash decimal bucket values directly from the decimal128 signed two-complement bytes. - Keep DecimalLiteral.MarshalBinary unchanged. - Add boundary and random compatibility tests. - Add focused benchmarks. ## Why Decimal bucketing previously built a big.Int and an allocated byte slice for every value. ## Benchmark Apple M1 Pro, pre-boxed inputs: - Apply: 124.9 ns / 97 B / 4 allocs -> 17.3 ns / 0 B / 0 allocs - Transformer: 126.3 ns / 97 B / 4 allocs -> 13.5 ns / 0 B / 0 allocs Checks: - go test ./... - go vet . -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
