[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: convert regex.c, strftime.c mktime.c to standard C
From: |
Lennart Borgman |
Subject: |
Re: convert regex.c, strftime.c mktime.c to standard C |
Date: |
Mon, 22 Nov 2010 17:59:23 +0100 |
On Mon, Nov 22, 2010 at 5:45 PM, Lars Magne Ingebrigtsen <address@hidden> wrote:
>
> If the new, gapless regex code is much faster than the old, gap-aware
> regex code, then this might be a net win. Or not.
I have a question "in the opposite direction".
As you perhaps know I have written some code for multiple major modes
in a buffer, mumamo.el in nXhtml. Different chunks of the buffer have
different major modes. Some part of mumamo.el becomes quite complex
and is easily broken because it is hard to stop a major mode from
looking in chunks that are for other major modes.
Examples of this problem are parsers of all kinds that belongs to a
certain major mode.
This is quite hard to fix and I have been thinking about a low level
change where you could "hide" all the chunks has a different major
mode when the major mode in question for a parser etc.
Fixing the regexp code looked like something that could be
troublesome. Do you have any opinion about if this is doable and if it
would slow down the code very much when such a restriction as above
would be active?
Re: convert regex.c, strftime.c mktime.c to standard C, Bruno Haible, 2010/11/20
- Re: convert regex.c, strftime.c mktime.c to standard C, Richard Stallman, 2010/11/21
- Re: convert regex.c, strftime.c mktime.c to standard C, Lars Magne Ingebrigtsen, 2010/11/21
- Re: convert regex.c, strftime.c mktime.c to standard C, Richard Stallman, 2010/11/22
- Re: convert regex.c, strftime.c mktime.c to standard C, Lars Magne Ingebrigtsen, 2010/11/22
- Re: convert regex.c, strftime.c mktime.c to standard C,
Lennart Borgman <=
- Islands and streams [Was: convert regex.c, .... to standard C], Alan Mackenzie, 2010/11/22
- Re: Islands and streams [Was: convert regex.c, .... to standard C], David De La Harpe Golden, 2010/11/22
- Re: Islands and streams [Was: convert regex.c, .... to standard C], Lennart Borgman, 2010/11/22
Re: Islands and streams [Was: convert regex.c, .... to standard C], Stefan Monnier, 2010/11/22
Re: Islands and streams [Was: convert regex.c, .... to standard C], Eli Zaretskii, 2010/11/23
Re: Islands and streams [Was: convert regex.c, .... to standard C], Lennart Borgman, 2010/11/23
Re: Islands and streams [Was: convert regex.c, .... to standard C], Stefan Monnier, 2010/11/23
Re: Islands and streams, David Kastrup, 2010/11/23
Re: Islands and streams, Alan Mackenzie, 2010/11/23
Re: Islands and streams, Lennart Borgman, 2010/11/23