Slices time complexity

Mario Figueiredo marfig at gmail.com
Mon May 18 15:49:10 EDT 2015


On Tue, 19 May 2015 05:36:44 +1000, Chris Angelico <rosuav at gmail.com>
wrote:

>What's the point of optimizing slicing to allow you to use a poor
>algorithm, instead of fixing your algorithm?
>

Chris, thank you for your input. But the code isn't really the
question, is it?

It's just an example. It was being used earlier to demonstrate Time
Complexity calculations in another forum. It's not real live code.
Never will be. Besides we already have a min() function in Python.



More information about the Python-list mailing list