[Omaha.pm] map: make a hash from an array

Andy Lester andy at petdance.com
Thu Sep 15 09:11:48 PDT 2005


On Thu, Sep 15, 2005 at 11:02:32AM -0500, Miller, Scott L (Omaha Networks) (Scott.L.Miller at hp.com) wrote:
> Just make sure you benchmark your resulting code.  Building the hash
> from an array is fairly expensive in itself...  

And make sure that you actually care about speed.  We as programmers
often spend valuable programmer time optimizing cheap computer time,
when there's not really a need to do so.


-- 
Andy Lester => andy at petdance.com => www.petdance.com => AIM:petdance


More information about the Omaha-pm mailing list