Radio amateur (AE2IT and EA1ITI).
He/him/爸爸.
You are still an idiot.
You are still an idiot.
You can see one in pretty much every Asian restaurant and cafe because they dispense water at the appropriate temperature for tea, at the touch of a button.
You can see one in pretty much every Asian restaurant and cafe because they dispense water at the appropriate temperature for tea, at the touch of a button.
Well, the latest benchmark says it's like 1/3 as fast on my M3 Mac.
So either some of my benchmarks are wrong, or M3 is so much better for trigonometry, or modern CPUs are.
Well, the latest benchmark says it's like 1/3 as fast on my M3 Mac.
So either some of my benchmarks are wrong, or M3 is so much better for trigonometry, or modern CPUs are.
And maybe "I have to review my data accesses to optimize the cache."
And maybe "I have to review my data accesses to optimize the cache."
(I already knew its name from my typing lessons, but I had never seen it outside of a typewriter.)
(I already knew its name from my typing lessons, but I had never seen it outside of a typewriter.)
If an algorithm has a sequence of parts with different complexities, you keep only the largest one.
If an algorithm has a sequence of parts with different complexities, you keep only the largest one.
We don't always need to do maths to do this. Sometimes we can take shortcuts.
We don't always need to do maths to do this. Sometimes we can take shortcuts.
Now, when we talk about algorithms we often are lazy, so we end up saying "this algorithm is O(n)" and such, which is not entirely correct for a mathematician but it's too late now so they have to suck it up.
Now, when we talk about algorithms we often are lazy, so we end up saying "this algorithm is O(n)" and such, which is not entirely correct for a mathematician but it's too late now so they have to suck it up.
So what about your algorithm that took 10+40*n or 5+70*n steps depending on how it was described? The formula for its run-time belongs to O(n) in either case.
So what about your algorithm that took 10+40*n or 5+70*n steps depending on how it was described? The formula for its run-time belongs to O(n) in either case.