Performance horrors

Aaron Denney wnoise at ofb.net
Sat Aug 30 07:59:00 EDT 2008


On 2008-08-26, Bayley, Alistair <Alistair.Bayley at invesco.com> wrote:
> The name is... well, pessimal might be a bit strong, but few programmers
> would think to look for something called "nub". Personally, when I first
> looked for it I expected uniq or unique (because that's what the unix
> utility that does the same thing is called). Distinct (from SQL) is
> another name that occurred to me, but never nub... it's not even a
> synonym for unique: http://thesaurus.reference.com/browse/unique

Right.  It helps a bit to remember it if you think of it as acting on
the list, rather than the elements -- it finds the heart of a list, as
removing duplicate points in an argument reduces it to its core.

-- 
Aaron Denney
-><-



More information about the Libraries mailing list