0.4.0
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)
toField.clone(std.mem.Allocator)
- Removed
Field.detachMemory()
- Removed
Row.fields()
andRow.fieldsMut()
- Added
Row.len()
andRow.field(index: usize)
- Changed
zcsv.column.ParserOpts
to bezcsv.core.ParserLimitOpts
- Made column and map parser options be runtime rather than comptime
- Changed
zcsv.stream.PartialOpts
to bezcsv.core.ParserLimitOpts
- Added
Row.fieldOrnull(index: usize)
(non-throwing) - Removed
stream.FieldStream
parser - Renamed
stream.FieldStreamPartial
tostream.Parser
- Added
stream.init
- Updated examples
- Updated docs
- Fixed bug in stream parser
Full Changelog: v0.3.1...v0.4.0