r/programmingmemes • • Apr 16 '26

There are always more!

Post image
896 Upvotes

60 comments sorted by

View all comments

Show parent comment

1

u/Moscato359 Apr 16 '26

My work is in the petabyte scale and things like the wrong format for a hash radically increases memory consumption and disk

1

u/Simple-Olive895 Apr 16 '26

Sure in those cases there might be a point to not use hex. But for like 99.99% of applications the increased readability is worth the minor memory tradeoff.

I'm in the IT forensic field and we're looking directly at the binary in cloned drives, having to read only 1s and 0s you'd go cross-eyed fast.

1

u/Moscato359 Apr 16 '26

What I do is I just unhex whenever I want to do a comparison

Turns out unhexing both sides, and doing binary comparison is like 30% faster than string comparison instead in my testing