Deserializing const_array
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 885
- Forks
- 181
- PR merge metrics
- No merged PRs in 30d
Description
I'm (belatedly!) moving from zfp 0.5.x to 1.0.1 and am very impressed with the read-only variable rate arrays.
With the fixed-rate arrays it was possible to serialize to disk once and then read them in later, thereby saving time compressing them on application startup.
Is there any way to do this with const_array? The documentation only mentions "zfp’s read-write compressed arrays can be serialized to sequential, contiguous storage".
I'm not too worried about the headers (I can store that information independently) but being able to populate compressed_data from disk would be really useful.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the const_array API and the documentation describing serialization of read-write compressed arrays. Trace how compressed_data is populated and determine what supported deserialization from stored sequential data would require; done means const_array data can be restored from disk without recompression, with the behavior documented.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- data
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100