Hacker News new | ask | show | jobs
by Dylan16807 4249 days ago
O what now? O(7) is the same as O(1)
1 comments

Yeah I'll admit I was a little fast and loose with that. O(n + m), where n is the length of the (pre-concatenation) destination and m is the length of the source. Do that enough times and you get a quadratic looking curve. My point was it's easy to get to O(m).