Good suggestion. Then it won't be slower in most common cases, providing the type field is accurate. I wonder how often it is, though. I found that allocate(X, Y) didn't set it, for instance.
/ Martin Stjernholm, Roxen IS
Previous text:
2003-04-27 08:14: Subject: Re: sort
Possible optimization: Check the type field of the array and sort destructively if it doesn't contain any container types.
/ Fredrik (Naranek) Hubinette (Real Build Master)