LightBSON.jl icon indicating copy to clipboard operation
LightBSON.jl copied to clipboard

High performance encoding and decoding of BSON data in Julia

Results 8 LightBSON.jl issues
Sort by recently updated
recently updated
newest added

Conversions API currently doesn't look inside tuples. ```Julia using LightBSON struct X x::String end function Base.setindex!(writer::BSONWriter, value::X, index::Union{String, Symbol}) GC.@preserve value setindex!(writer, UnsafeBSONString(pointer(value.x), length(value.x)), index) end LightBSON.bson_representation_type(::Type{X}) = UnsafeBSONString buf...

Implements a more efficient "break" when foldl-ing. I just reduce on an isbit type, that I call "BSONIndexUnsafe", instead of a BSONReader. I test: ```julia julia> buf = UInt8[] writer...

HI, just wondering if you could please add a link to my BSON encode/decode package in the "Generic serialization of all Julia types to BSON" line in the README?

First of all, thanks a lot for creating this package. I think it is awesome to have a less magical alternative to BSON.jl. The following snippet gives an error: ```julia...

A bit similar to #7 ```julia obj = 1:10 LightBSON.bson_write(path, obj) LightBSON.bson_read(typeof(obj),path) ``` throws an error: ``` KeyError: key :start not found ``` Should ranges and other common types from...

Consider adding this in the validator or another parametric type on the reader, so it can be made zero overhead when not in use

https://github.com/mongodb/specifications/blob/master/source/bson-binary-vector/bson-binary-vector.md Appears to have its own tests, not in the regular corpus API guidance is very prescriptive. We don't follow that on other types at the moment, would need a...