Oops, my bad. There's actually a bug in the search. It will still be case sensitive despite the hash function uses lowercase-d version of the key. It only affects the items distribution, but the key is still searched in case sensitive way through the selected bucket.
-- View this message in context: http://free-pascal-general.1045716.n5.nabble.com/Generics-how-to-rewrite-TOjectDictionary-tp5714029p5714071.html Sent from the Free Pascal - General mailing list archive at Nabble.com. _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal