Re:Fast key-value stores: An idea whose time has come and gone
by shereadsthenews on Monday June 24, 2019 @11:51AM
(#20264787)
Encoding an image as a repeated sequence of variable-length integers would obviously be a poor choice.
[ Parent
| on HN ]
Re:Fast key-value stores: An idea whose time has come and gone
by rootlocus on Monday June 24, 2019 @01:03PM
(#20265727)
Except.. that's pretty much how raw images are represented. Substituting "integers" for "bytes" if you want channel resolution, or leaving integers if you have 32bit pixel depth.
https://github.com/nothings/stb/blob/master/stb_image.h#L120