Re: Constructing sequences
- Posted by "Kat" <gertie at visionsix.com> Jun 29, 2005
- 606 views
On 29 Jun 2005, at 0:55, Pete Lomax wrote: > > > On Tue, 28 Jun 2005 20:05:31 +0400, Igor Kachan <kinz at peterlink.ru> > wrote: <snip> > >But dir() is not that bad too, I think. > >Adds just a small fraction of one millisecond > >to the process, but gives very clear code. > I wholeheartedly agree. Your example does show an overhead of calling > dir() 5000 times, but very few real-world programs will do that. Wow, i seem to be still writing lots of rare code then! Can i get a goto? Kat