Re:I miss thinking hard
by raw_anon_1111 on Wednesday February 04, 2026 @01:52PM
(#46889977)
That’s not realistic with any processor that does branch prediction, cache hits vs cache misses etc
You can easily compute the worst cases. All the details are in the specs of the processor.
Re:I miss thinking hard
by raw_anon_1111 on Wednesday February 04, 2026 @04:16PM
(#46891905)
Assuming also that you are not running on top of an operating system, running in a VM with “noisy neighbors”…
I haven’t counted cycles since programming assembly on a 65C02 where you cooks save a clock cycle by accessing memory in the first page of memory - two opcodes to do LDA $02 instead of LDA $0201
There can be. But you’d have to map the libraries to opcodes and then count the cycles. That’s what people do when they care about that particular optimization. They measure and make guaranties.