That said, the suggestion of using MD5 keys is a non-starter for eliminating the performance issue. Calculating an MD5 hash of a string of length n is O(n).
The qualifier I added to my suggestion of using MD5 was that the application be of a write-once, read-many nature, with respect to the keys. Thus once you generate the digest of the long key, you cache it. It isn't a universal solution.
-Tom
_______________________________________________ Boston-pm mailing list [email protected] http://mail.pm.org/mailman/listinfo/boston-pm

