Skip to content

v1.1.3

Choose a tag to compare

@Mosaad-M Mosaad-M released this 28 Sep 01:41
· 9 commits to master since this release

Performance fix: encode_arrow_file's final message-concatenation loop had the same byte-by-byte List.append() anti-pattern already fixed elsewhere in this file for v1.1.2 -- missed that time because it used a precomputed length variable instead of an inline len() call, so the earlier grep-based sweep didn't catch it.

Found via real profiling (macOS sample, tracing call stacks into the allocator), not re-reading source speculatively. Fixed with the same List.extend() technique. New benchmark added (bench_encode_arrow_file_100k_rows) since the existing benchmark never exercised this code path.

Measured before/after (100k rows, 3 columns): 11.70ms -> 8.24ms (1.42x faster).

Behavior-preserving: all 67 tests pass unchanged, real pyarrow.feather.read_table() re-verified working.