[Chandler-dev] Index ordering and case sensitivity

Philippe Bossut pbossut at osafoundation.org
Wed Nov 15 11:25:05 PST 2006


Grant Baillie wrote:
> On 15 Nov, 2006, at 11:09, Bryan Stearns wrote:
>
>> In looking into bug 5718, I noticed that string comparison for 
>> indexing is done without ignoring case.
>>
>> This probably isn't what users expect, but the fix for this isn't 
>> simple: case-insensitive comparison is locale-sensitive, which would 
>> indicate that we'd need to reindex when the user changes locales, 
>> which could be expensive.
>>
>> Any ideas on how to deal with this problem?
>
> I'd vote for locale-aware sorting, and reindexing when the user 
> changes locales. Changing locales isn't a particularly frequent 
> operation, and AFAIK it's only supported via relaunch of Chandler for 
> Preview. 

+1, changing locale is a once in a blue moon affair, even for people 
using several languages. The only people who could be annoyed by the 
perf hit are localizers (and even those usually work within one language 
for the time they are doing localization and tests, at least, that's 
what I did... :) ).

Cheers,
- Philippe


More information about the chandler-dev mailing list