dwavesystems / dwavesystems/dimod

Create local headers in FileView serialization

Open
#660 0 comments 1 reaction 0 assignees View on GitHub
enhancement
Dominant language
Python
Stars
143
Forks
91
Avg merge
1h 24m
Merged PRs (30d)
3

Description

Inspired by [zip's format](https://en.wikipedia.org/wiki/Zip_(file_format)), it might make sense for the offset, linear, quadratic, and variable labels (see #659) to have their own local headers. The offsets could also be stored in the header for easier reading, rather than being implicitly derived ([example](https://github.com/dwavesystems/dimod/blob/7bec06d6c868efef012b817ffafb5043440ffd8d/dimod/serialization/fileview.py#L168), [example](https://github.com/dwavesystems/dimod/blob/7bec06d6c868efef012b817ffafb5043440ffd8d/dimod/bqm/adjarraybqm.pyx#L481)).

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.