this post was submitted on 16 Jun 2023
1 points (100.0% liked)

General Programming Discussion

7803 readers
1 users here now

A general programming discussion community.

Rules:

  1. Be civil.
  2. Please start discussions that spark conversation

Other communities

Systems

Functional Programming

Also related

founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] 7heo@lemmy.ml 1 points 1 year ago* (last edited 1 year ago) (1 children)
[–] mattd@lemmy.ml 1 points 1 year ago (1 children)

It’s actually worse than that. It looks like it uses a short to store the index, which is normally 2 bytes. So it takes 2 bytes for every byte stored in the metadata!

[–] glibg10b@lemmy.ml 1 points 1 year ago

I wonder if the index is even guaranteed to fit in a short in every case