[Jprogramming] Performance of case-insensitive lookup

Sherlock, Ric R.G.Sherlock at massey.ac.nz
Fri Oct 12 17:56:59 HKT 2007


This is a valid approach depending on the format of the data before the lookup table is created. Unfortunately in the real case I have, I don't think it will work.

---Björn Helgason wrote:
>    fnames=: <;._1 tolower ' John Dakota Wilson Diana Joan 
> Roberto John John'
>   lnames=: <;._1 tolower ' Smith Jones Chan Wilson Saxon 
> Angelo Smith Wilson'
>     ppl i. tolower each p2
> 4
> 
> Sherlock, Ric :
> > I would be 
> > interested in other possible ways of bypassing the performance hit 
> > caused by making the lookup case-insensitive.



More information about the Programming mailing list