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

General Programming Discussion

7709 readers
2 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
top 3 comments
sorted by: hot top controversial new old
[–] 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