Message233660
I'm not sure I follow:
Sets of strings are very common when trying to create a unique set of strings or optimizing "name in set_of_names" lookups.
Regarding your benchmark numbers: I have a hard time following how they work. A simply "word in set_of_one_word" certainly doesn't make a good benchmark for these sort of tests :-)
You should at least test with sets of various sizes and include the non-matching checks as well. |
|
Date |
User |
Action |
Args |
2015-01-08 14:35:43 | lemburg | set | recipients:
+ lemburg, rhettinger, pitrou, serhiy.storchaka |
2015-01-08 14:35:43 | lemburg | set | messageid: <1420727743.62.0.13523177346.issue23119@psf.upfronthosting.co.za> |
2015-01-08 14:35:43 | lemburg | link | issue23119 messages |
2015-01-08 14:35:43 | lemburg | create | |
|