[erlang-questions] Mnesia -- "equals ignore case" equivalent?

Christian chsu79@REDACTED
Tue Jun 9 11:10:14 CEST 2009


You could hash on the (up/low) uni-cased string, and perhaps get
smaller overhead for that extra field.

The cost is that you have to sort out potential collisions at lookup.

Also: 20 million records sounds like peanuts.

On Tue, Jun 9, 2009 at 10:45, Steve Davis<steven.charles.davis@REDACTED> wrote:
> My first thought is to storing an indexed lower or upper "case"
> version of the data in an additional field, but with nearly 20 million
> records that doesn't seem very attractive.


More information about the erlang-questions mailing list