[Snowball-discuss] Re: question about an optimization
Martin Porter
martin.porter at grapeshot.co.uk
Thu Oct 18 12:56:48 BST 2007
Kai
You must understand that the C code is generated from a snowball script,
and that no attempt is made to alter the generated code to improve
performance. (The maintenance involved would be too great.)
Could you please direct comments on snowball to
snowball-discuss at lists.tartarus.org.
Martin
On Thu, 2007-10-18 at 17:40 +0800, kai wang wrote:
> hi,
> in portuguese step 2 Verb suffixes, suffix end with "a e i m o r s u
> á" can be found by an setence, if not end with these letters, then
> return
>
> if
>
> (text.length() < 2 || (!((2925090 >> (text[text.length() - 1] & 0x1f))
> & 1) && text[text.length() - 1] != 'á'))
>
> return;
> why is it not used in the code, is it because this operation won't
> imporove performance?
>
> kai
More information about the Snowball-discuss
mailing list