Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Are you performing list calls sequentially? If you have O(100k) directories and are doing O(100k) requests sequentially, 15 minutes works out at O(10ms) per request which doesn’t seem that bad? (assuming my math is correct…)


At risk of being pedantic, you seem to be using big O to mean “approximately” or “in the order of”, but that’s not what it means at all. Big O is an expression of the growth rate of a function. Any constant value has a growth rate of 0, so O(100k) isn’t meaningful: It’s exactly the same as O(1).


You're right technically, it's an abuse of notation that isn't uncommon. My physics profs would do it in college.


Fair point, I guess the notation ~100k, ~10ms would be better.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: