RedEye FlightControl@lemmy.world to General Programming Discussion@lemmy.mlEnglish · 1 year agoPiFS - Store your data in Pi!github.comexternal-linkmessage-square3fedilinkarrow-up12arrow-down10
arrow-up12arrow-down1external-linkPiFS - Store your data in Pi!github.comRedEye FlightControl@lemmy.world to General Programming Discussion@lemmy.mlEnglish · 1 year agomessage-square3fedilink
minus-squareMatt/D@lemmy.mllinkfedilinkEnglisharrow-up1·1 year agoIt’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!
minus-squareglibg10b@lemmy.mllinkfedilinkEnglisharrow-up1·1 year agoI wonder if the index is even guaranteed to fit in a short in every case
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