OlimilO1402 / List_Hashtable

Hashtable-class
GNU General Public License v3.0
4 stars 1 forks source link

Case-insensitive mode switch #2

Open dragokas opened 1 year ago

dragokas commented 1 year ago

Is it easily to enable case-insensitive mode for your hash table? I'd like to compare performance with other hash tables I know of, in text compare mode.

OlimilO1402 commented 1 year ago

What comes to my mind, the easiest solution to make it Case-insensitive is to feed it only with UCase-letters. Performance was not the intention for this repo, not at all. Mainly it is a port of the correspodent class that is/was part of the .net-fx. So the main reasons for this class is "educational" and at the same time "case sensitive". As already mentioned I haven't touched the code for some time and for now I really do not have the time. But if you want to do it go ahead fork it, come up with a solution, if you want to benchmark it let me know about your benchmark results.