What make function with huge list so slow
Chris Angelico
rosuav at gmail.com
Sun Aug 25 00:15:42 EDT 2019
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.
ChrisA
More information about the Python-list
mailing list