Fork me on GitHub
#xtdb
<
2021-02-05
>
nivekuil18:02:46

are uuids stored as 36 bytes? looking at the codec code, seems like it's treating them as strings? https://github.com/juxt/crux/blob/441836d2e450b904d48ced9677f93607215e1881/crux-core/src/crux/codec.clj#L536

jarohen18:02:57

id-function is a hash, brings it back down to 20. in hindsight we could have turned the uuid into bytes and hashed that, but they're on tx-logs now so can't change their hashing 🙂

nivekuil18:02:11

ah, yeah I just realized that's only the ID hash and it falls under Object when it's a value. just curious :)