From: Jeff R. <dv...@di...> - 2012-10-09 19:14:29
|
Zoran Vasiljevic wrote: > > On 09.10.2012, at 20:49, Jeff Rogers wrote: > >> creating a hashtable mapping the keys to indexes > > I assume you used Tcl hash-tables with TCL_STRING_KEYS? > You know that ns_set keys can be case-insensitive? Yes - I've only half-implemented it so far, but the full implementation would need to create two hashtables, one with case preserved and one with all keys tolower-ed. I expect the costs and benefits would be similar. -J |