« *
@chrisnicholas.dev
1
@nvie.com and I turned this into an interactive deep-dive, with every demo from…
@chrisnicholas.dev
2
You don't need to build any of this yourself. It's all baked into `LiveList`, t…
@chrisnicholas.dev
3
Final trick: ditch decimal for base 96. That's every printable ASCII character,…
@chrisnicholas.dev
4
Pushing to the end is the most common list operation, so in real apps indices c…
@chrisnicholas.dev
5
Real decimals have a catch too. Keep adding to the end of a list and floating p…
@chrisnicholas.dev
6
If Alice and Bob happen to choose the identical index, say `0.75`, there's no w…
@chrisnicholas.dev
7
Using this method, every change affects only one index, so other items don't ge…
@chrisnicholas.dev
8
Fractional indexing turns this around. Rather than deriving an index from posit…
@chrisnicholas.dev
9
Concurrent edits make it worse. Say Alice adds an item while Bob removes one. T…
@chrisnicholas.dev
#
More
Back a page
Bluesky home
☆ Save to home
·
0 Home
·
Find
·
Games
·
Chat
·
AI
·
Setup