@zvava The problem you now then is you lose integrity of the message content if you compute the hashes at runtime rather than on the way in. So if your message content or database becomes corrupt in any way, so do your hashes.
Timeline
Recent posts from feeds followed by sorenpeter@darch.dk
@lyse while caching those is a good idea the problem is baking data that can be calculated into the database instead of some cache, because post hashes are not fixed and change for every post edit. you can always easily look up other twts by hash with a cached lookup table, but now you're not locked into them so supporting hashv2 or other hash variants or any other solution becomes far easier
Building native compilers is hard 🤣 Building bytecode VM / interpreters is way easier 🤣
https://libruniv-c29483.frama.io/ecrire-markdown/ guide pratique etgénérique et exhaustif
@shinyoukai Nah it's more like there's a lot of repeated code, because when you go from source language to intermediate representation to machine code, well you just end up writing a lot of the same patterns over and over again. I need to dedupe this I think.
søren peter mørch