anoopj opened a new pull request, #3015: URL: https://github.com/apache/iceberg-rust/pull/3015
## Which issue does this PR close? - Closes #3014 ## What changes are included in this PR? `parse_positional_deletes_record_batch_stream` is allocating and hashing a fresh path string per row even though a positional delete file repeats the same data-file path across all of its rows (the records are sorted by (file_path, pos)). This PR fixes the inefficiency. Behavior is unchanged: positions are still inserted one-by-one, and a path that recurs merges into its existing delete vector, so results are identical regardless of ordering. Microbenchmark filling HashMap<String, RoaringTreemap> from 500k rows in 8192-row batches: one data file 32.9 -> 8.5 ns/row (3.9x); 50 data files 36.8 -> 10.0 ns/row (3.7x). ## Are these changes tested? Added tests, existing test coverage is there also ## AI Disclosure Assisted with Claude code -- 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]
