this post was submitted on 16 Jun 2023
8 points (100.0% liked)
General Programming Discussion
7785 readers
12 users here now
A general programming discussion community.
Rules:
- Be civil.
- 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
view the rest of the comments
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!
I wonder if the index is even guaranteed to fit in a short in every case