1
0
Fork 0
forked from alemi/upub
upub/web
alemi 9fe3cb3bda
feat(web): use reference counting rather than clones
before, cache would clone the underlying object every time it was
accessed. this was definitely incredibly wasteful! now it clones the
Arc, which is super cheap. the extra work necessary while fetching
things is most likely more than compensated by saved clones every time
we render stuff. there is some dumb arc creation here and there (like
for the debug page), but it's mostly my lazyness, they can probably go
and should not be that much of a big deal anyway.
TLDR things were already fast but should be EVEN FASTER!!!
2024-05-01 16:06:46 +02:00
..
src feat(web): use reference counting rather than clones 2024-05-01 16:06:46 +02:00
Cargo.toml fix(web): somehow doesnt work only in trunk build? 2024-04-17 23:45:08 +02:00
index.html feat(web): like button (without undo) 2024-04-30 02:09:23 +02:00