[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

What make function with huge list so slow

On Sun, Aug 25, 2019 at 1:43 PM Windson Yang <wiwindson at gmail.com> wrote:
> Thank you, Chris. I tried your suggestions. I don't think that is the reason, fib_dp_look() and fib_dp_set() which also allocation a big list can return in 2s.

(Please don't top-post)

Are you running each function more than once, or just running them in
succession and seeing how long they take?

Show the full code you're using for the timing tests so we can recreate it.