[Seaside] i10n or speed?

Bert Freudenberg bert at freudenbergs.de
Mon Mar 19 12:19:08 UTC 2007


On Mar 19, 2007, at 12:58 , Philippe Marschall wrote:

> 2007/3/19, Bert Freudenberg <bert at freudenbergs.de>:
>>
>> On Mar 19, 2007, at 11:58 , Philippe Marschall wrote:
>>
>> > encodeForHTTP.
>> >
>> > So what do you find more important, that Seaside is fast or that is
>> > supports non-ascii urls?
>>
>> I'm pretty sure you could have your cake and eat it, too, if you
>> rewrite that method
>
> We don't do overrides anymore.
>
>> using #indexOfAnyOf: and CharacterSets, which are
>> very fast.
>
> You would do this as a replacement for #isSafeForHTTP? Why not just a
> boolean Array and lookup by #charCode?

Because it's much faster?

> Do you see any optimization potential in
> #encodeForHTTPWithTextEncoding:conditionBlock: ?

If I'd see the code, probably.

- Bert -




More information about the seaside mailing list