On Tue, Apr 01, 2008 at 02:49:47PM +0100, Nicholas Clark wrote: > I don't know how long it took Dave to > implement in-place sort (`@glurp = sort @glurp`) My vague recollection is that it was quite hard, and then I broke something (can't remember what now). Generally, optimisations that involve examining an area of the optree looking for a particular pattern and replacing it with something else, are hard to do, and are very fragile - a slight change to the optree (something as trivial as an op_null added or removed by some other fix), and the optimisation gets inadvertently disabled, or worse, breaks things. -- Standards (n). Battle insignia or tribal totems.Thread Previous | Thread Next