@MansiCodez keep it simple: add a dedicated table for the 100 top scores and update that when a new score gets added. i would try to use my existing database / only add redis if verified its truly needed perf wise
@0xSqueemo@Jonathan_Blow I dont see the original post anymore, i think it stated 32bit hashes - so its ~ 1 in 4 billion risk
but hopefully leans implementation uses a algorithm where it first checks hashes - and if they are even compares values.
that would make for a sane optimization
@0xSqueemo@Jonathan_Blow i get that hashes are easier to compare - but still: in mathematics a proof has to be true without any doubt.
So a hashing comparison is wrong. for faster feedback during development hashing can be used, but the final compile should not sacrifice correctness for speed
@thdxr@tomerweller will the idle ram footprint be reduced?
currently each opencode serve idles at around ~400mb - which for a single user isnt bad / a problem,
but for a central server that serves multiple team members (each having their own opencode server running) not ideal.
@DanielGlejzner For solid to perform well the data strcuture of the app has to be broken into signals. Reacts mental model is often nicer to work with when having large datasets (large in the sense of alot of schemas) synced into a dedicated store and rendering that to ui at different places
@thegenioo@blueemi99 Well but it takes very long to finish a task and uses a lot of tokens. From my few examples luna is the better model for dev adjacent work
@kimmonismus Hmm i dint know if its that good of a catch - just watched deepseek flash waste 200k tokens on adding a small ui feature - to add a dropdown for some links if space gets too small and fail at it. Opus 5 literally took a few seconds for the same
@allgarbled Which profession does this better? From my experience every field tends to use jargon that often get in the wy of beginners. In computer science the information atleast is nicely digitalized so googling is easy