Skip to content

0.4.0

Compare
Choose a tag to compare
@matthewtolman matthewtolman released this 04 Nov 23:03
· 32 commits to main since this release

Released version 0.4.0

  • Merged field memory into row memory for allocating parsers
    • This resulted in a 2-3x speed improvement with large files for allocating parsers
    • Required changing inner workings of Field and adding a new RowField
      • RowField needed since ArrayList will invalidate pointers on reallocation
  • Removed Field.clone()
  • Renamed Field.cloneAlloc(std.mem.Allocator) to Field.clone(std.mem.Allocator)
  • Removed Field.detachMemory()
  • Removed Row.fields() and Row.fieldsMut()
  • Added Row.len() and Row.field(index: usize)
  • Changed zcsv.column.ParserOpts to be zcsv.core.ParserLimitOpts
  • Made column and map parser options be runtime rather than comptime
  • Changed zcsv.stream.PartialOpts to be zcsv.core.ParserLimitOpts
  • Added Row.fieldOrnull(index: usize) (non-throwing)
  • Removed stream.FieldStream parser
  • Renamed stream.FieldStreamPartial to stream.Parser
  • Added stream.init
  • Updated examples
  • Updated docs
  • Fixed bug in stream parser

Full Changelog: v0.3.1...v0.4.0