llnl / llnl/zfp

Deserializing const_array

Open
#228 2 comments 0 reactions 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.