Re: Directly using NSString's "hash" (or equivalent) on unichar pointer

2008-03-04 Thread Jens Alfke
On 4 Mar '08, at 10:46 AM, Ken Tozier wrote: I'm writing a generic parsing class and have one comparison method (isLiteral) I'd like to make as fast as possible. The basic question is: Does NSString use a hashing function that can be accessed without involving NSString? IE, is there a hash

Directly using NSString's "hash" (or equivalent) on unichar pointer

2008-03-04 Thread Ken Tozier
Hi I'm writing a generic parsing class and have one comparison method (isLiteral) I'd like to make as fast as possible. The basic question is: Does NSString use a hashing function that can be accessed without involving NSString? IE, is there a hashing function that can be used directly on