Skip to content
Better HN
Top
Best
Ask
Show
New
Jobs
Search
⌘K
0 points
colanderman
4y ago
0 comments
Save
Share
To be clear, that is not the advice I'm giving -- but rather, when your performance looks like
p*log n + q
, if
q
is much greater than
p/40
-- that is, the constant term dwarfs the logarithmic term -- then it is safe to consider it constant.
0 comments
2 comments · 1 top-level
top
newest
oldest
xdavidliu
4y ago
· 1 in thread
> p*log n + q, if q is much greater than p/40 -- that is, the constant term dwarfs the logarithmic term
I think you meant to say "if q is much greater than p TIMES 40".
colanderman
OP
4y ago
Ah good catch, yes you are correct.
j
/
k
navigate · click thread line to collapse