You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Despite my idea of creating refs to represent IDs of syntactic
elements, they are not globally unique, and can be reused when the VM
restarts. This makes them inappropriate for long-lived ids, like we
need in the index.
I've replaced them with snowflakes, which i benchmarked at 800k qps,
are unique, and also represent the time they were created, which means
we'll not need to store dates in the index. After the change,
lexical's index was 50 MB smaller.
0 commit comments