andyferris / Dictionaries.jl

An alternative interface for dictionaries in Julia, for improved productivity and performance
Other
278 stars 28 forks source link

Add serialization/deserialization #108

Closed theogf closed 1 year ago

theogf commented 1 year ago

Similar to #107, this allows serialization and deserialization to not copy the hashes and only the values.

This also adds some tests checking that no keys are left with the wrong hash when serializing.

codecov[bot] commented 1 year ago

Codecov Report

Merging #108 (104867b) into master (eb5fc78) will increase coverage by 0.07%. The diff coverage is 88.88%.

@@            Coverage Diff             @@
##           master     #108      +/-   ##
==========================================
+ Coverage   78.78%   78.86%   +0.07%     
==========================================
  Files          20       20              
  Lines        2324     2342      +18     
==========================================
+ Hits         1831     1847      +16     
- Misses        493      495       +2     
Impacted Files Coverage Δ
src/Indices.jl 88.15% <88.88%> (+0.01%) :arrow_up:
src/UnorderedIndices.jl 88.79% <88.88%> (+<0.01%) :arrow_up:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.