aokolnychyi opened a new pull request, #9365:
URL: https://github.com/apache/iceberg/pull/9365
This PR migrates `SortingPositionOnlyDeleteWriter` to use `CharSequenceMap`
to simplify the code. The new solution is essentially the same in terms of
functionality and performance.
**Before**
```
Benchmark
Mode Cnt Score Error Units
ParquetWritersBenchmark.writeUnpartitionedClusteredPositionDeleteWriter
ss 5 1.682 ± 0.242 s/op
ParquetWritersBenchmark.writeUnpartitionedFanoutPositionDeleteWriter
ss 5 2.949 ± 0.092 s/op
ParquetWritersBenchmark.writeUnpartitionedFanoutPositionDeleteWriterShuffled
ss 5 3.428 ± 0.089 s/op
```
**After**
```
Benchmark
Mode Cnt Score Error Units
ParquetWritersBenchmark.writeUnpartitionedClusteredPositionDeleteWriter
ss 5 1.608 ± 0.122 s/op
ParquetWritersBenchmark.writeUnpartitionedFanoutPositionDeleteWriter
ss 5 2.998 ± 0.061 s/op
ParquetWritersBenchmark.writeUnpartitionedFanoutPositionDeleteWriterShuffled
ss 5 3.209 ± 0.480 s/op
```
--
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]