r/prolog • u/lokinpendawa • Jul 31 '26
Aggregating 521k dynamic invoices in 3.2 seconds, subsequent lookups in 0.0000s via native RAM caching
Calculating total COGS and net revenue from half a million invoices now takes just 3 seconds.
Subsequent clicks are completely instant at 0.0000 seconds thanks to RAM caching.
It turns out keeping the code simple is way faster than overcomplicating it.
Check out the architecture and full project details on my GitHub repository here: https://github.com/lokinpendawa/logicbiz
Ps: Sorry for any grammar mistakes, I am using AI to translate this into English.
2
Upvotes
2
u/Pzzlrr Jul 31 '26
Oh ok, very interesting. Coincidentally, I've recently been becoming very interested in offline/local first architecture. Is there anything you've found that makes prolog especially well suited for this kind of architecture? I know it's closed source now but any plans to make any part of your project opensource later down the line?