Re: Which is faster?
- From: Fredrik Lundh <fredrik@xxxxxxxxxxxxxx>
- Date: Sat, 30 Aug 2008 19:21:58 +0200
Lie 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?
Who is doing something twice? Definitely not sum().
nobody's claiming that -- but as mentioned above, even if sum() had done two passes over the source sequence, it'd still be O(n).
</F>
.
- References:
- Re: Which is faster?
- From: cnb
- Re: Which is faster?
- From: Lie
- Re: Which is faster?
- Prev by Date: wholesale Christian Audigier t-shirts ( WWW.SNEAKERS-IN-CHINA )
- Next by Date: wholesale lacoste t-shirts (www.SNEAKERS-IN-CHINA.com)
- Previous by thread: Re: Which is faster?
- Next by thread: Re: Which is faster?
- Index(es):
Relevant Pages
|