On 28/3/2006, at 19:08, Afternoon wrote:
Did I see you mention somewhere that you'd built your own RE engine for some parts TextMate? If so, how does that compare to off-the- shelf parsers for speed?
I currently use Oniguruma.
So while it can probably be made faster down the road, taking up to a second is likely not indicative of any performance problem (especially since it’s threaded), it’s just the price to pay for the flexibility this system provides.
Of course, it is very flexible. It's just a bit surprising when we're used to other editors parsing and highlighting text instantly.
TM could probably make you think it was instant by redrawing the first visible lines, as soon as these were parsed -- as for surprising, let’s see how other editors perform when they get to the same level as TM wrt language grammars.