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

General Programming Discussion

7708 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
[–] [email protected] 3 points 1 year ago* (last edited 1 year ago) (2 children)
[–] [email protected] 3 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!

[–] [email protected] 1 points 1 year ago

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