Re: Which is faster?



cnb wrote:

how does doing something twice not change complexity? yes it maybe
belongs to the same complexity-class but is still twice as slow no?

doing two things quickly can still be faster than doing one thing slowly.

</F>

.



Relevant Pages

  • Re: Which is faster?
    ... belongs to the same complexity-class but is still twice as slow no? ... Who is doing something twice? ... sum() does not create intermediate list, ...
    (comp.lang.python)
  • Re: unique filter results in some non-unique records.
    ... It's a fantastic resource. ... twice, some three times, and some are only there once. ... Does colour affect how 'unique' is ... I know which original list each number belongs to. ...
    (microsoft.public.excel.misc)
  • Re: Which is faster?
    ... belongs to the same complexity-class but is still twice as slow no? ... Who is doing something twice? ... Definitely not sum(). ... two passes over the source sequence, ...
    (comp.lang.python)