Re: Why equal(x[n], x[n..n])=0 ?
- Posted by Jason Gade <jaygade at ?ahoo.co?> Sep 26, 2007
- 701 views
Fernando Bauer wrote: > Ok. But sometimes you want to use slice, and then you have to test the length > of the slice or the values of the indexes. This probably adds lines of code > and processing time. Ah, but depending on the algorithm, sometimes when you expect a slice to return a sequence then checking for an atom or "one sequence down" will probably add lines of code or processing time. -- A complex system that works is invariably found to have evolved from a simple system that works. --John Gall's 15th law of Systemantics. "Premature optimization is the root of all evil in programming." --C.A.R. Hoare j.