[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 3/3] dfa: optimize UTF-8 period
From: |
Jim Meyering |
Subject: |
Re: [PATCH 3/3] dfa: optimize UTF-8 period |
Date: |
Mon, 19 Apr 2010 10:07:38 +0200 |
Paolo Bonzini wrote:
> On 04/17/2010 09:27 AM, Jim Meyering wrote:
>> Paolo Bonzini wrote:
>>> * NEWS: Document improvement.
>>> * src/dfa.c (struct dfa): Add utf8_anychar_classes.
>>> (add_utf8_anychar): New.
>>> (atom): Simplify if/else nesting. Call add_utf8_anychar for ANYCHAR
>>> in UTF-8 locales.
>>> (dfaoptimize): Abort on ANYCHAR.
>>> ---
>>> NEWS | 6 ++++++
>>> src/dfa.c | 46 +++++++++++++++++++++++++++++++++++++++++++---
>>> 2 files changed, 49 insertions(+), 3 deletions(-)
>>
>> Only quick superficial feedback for now:
>
> I pushed all patches but this.
Thanks!
Would you please add comments describing this one in more detail?
I ran out of time trying to understand how it works.
Re: [PATCH 1/3] dfa: simplify dfainit, Jim Meyering, 2010/04/17