about summary refs log tree commit diff
path: root/src/App.web.tsx
diff options
context:
space:
mode:
authordan <dan.abramov@gmail.com>2024-11-24 19:10:54 +0000
committerGitHub <noreply@github.com>2024-11-24 19:10:54 +0000
commitb9406aa011db2db7d3bcdf7d91ef929b17a07c02 (patch)
treefe590626f573c2e78e4d9f7df73f33c523e62172 /src/App.web.tsx
parent371e6ad333e00cdfb7f4713f7fef816668011049 (diff)
downloadvoidsky-b9406aa011db2db7d3bcdf7d91ef929b17a07c02.tar.zst
Don't re-sort already fetched post thread items (#6698)
* Don't reorder already seen posts in PostThread

* Add sorting by generation

* Rip out stable order cache

It doesn't make sense because sort() doesn't call the callback for all A/B pairs, and the server returning a different ordering will cause cache misses which means there'll be no stability anyway.

* Make hotness deterministic per fetched at

* Cache random scores while in thread

* Reorder for clarity
Diffstat (limited to 'src/App.web.tsx')
0 files changed, 0 insertions, 0 deletions