Thanks for introducing that idea of "cache the answers and never call the slow code". In hindsight, it's an obvious concept, but I hadn't ever thought about it.
-
-
-
It's what caches are for! :)
- Show replies
New conversation -
-
-
"When it's you and Microsoft, you can just assume it's the bad code over here":)) Srs though, ppl use layered archs without realizing "slow" is a multiplier. If using a lib is "only 20% slower" but that is using another lib/API, then repeat 6 layers, end result is 7X slower!
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
You really know how to "leave em wanting more"
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
It should be obvious to anyone, but the point about processing the input buffer potentially double or trippling (or worse) your run time almost never occurred to me. Probably the single best argument against Go's i/o interface as it seems to encourage a lot of copying
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
xterm and especielly xlib(and the whole X protocol) suffer the same flaws you describe here
-
Yes, and in fact you can measure the very slow performance of many terminals using the benchmark I wrote for this:https://github.com/cmuratori/termbench …
- Show replies
New conversation -
-
-
Shipped the "roulette circular buffer" implementation in Xbox Fitness for Xbox One, 2012-13, for streaming video system. Backup code path was present as well, never triggered. ~100us / frame decode at the time. Nice to hear robust solution was added to kernel.
-
It's been one of those things that has been frustrating, because it is a very powerful capability of the CPU, but we have not had reliable access to it :( So it was very exciting when it was embraced in the Windows Kernel. It means from Windows 10 on it's all fair game!
End of conversation
New conversation -
-
-
[1/2] Dumb question: Is the buffer locked? As far as I can see, a circular buffer can be completely thread-safe, while only locking writes during reads (or writes if there are multiple writers) if you can begin a write and bump the tail as an atomic action.
- Show replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.