Comment

Comment by KolmogorovComp

> making it very easy to go from O(n) to O(2n)

Strictly speaking I assume everyone knows O(n) = O(2n) =O(kn) for k in R.

But I see your point. I assume any decent compiler would merge the loops though

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton