Skip to content

v1.1.2

Choose a tag to compare

@Mosaad-M Mosaad-M released this 24 Sep 20:47
· 10 commits to master since this release

Performance fix: encode_array/decode_array/encode_record_batch (plus ArrowArray's own init/copyinit) copied column data one byte at a time via List.append() in a loop. Replaced with List.extend() calls on already-formed source lists/slices.

Measured on a new 100k-row x 3-column benchmark (added since none existed at this scale before):

  • encode_record_batch: 10.99ms -> 4.08ms (2.7x faster)
  • decode_record_batch: 11.08ms -> 3.90ms (2.84x faster)

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