[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: |
Lars Magne Ingebrigtsen |
Subject: |
Re: convert regex.c, strftime.c mktime.c to standard C |
Date: |
Sun, 21 Nov 2010 18:25:43 +0100 |
User-agent: |
Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux) |
Richard Stallman <address@hidden> writes:
> That would be totally useless for Emacs. Copying the whole Emacs
> buffer in that way just once could cause a delay big enough for
> the user to see.
If typical code snippets like
(while (re-search-forward "..." nil t) ...)
copies the entire buffer for each re-search-forward call, then it's not
something that Emacs could use, I think.
But I wonder what the performance impact would be if functions like
`re-search-forward' just moved the gap somewhere (to before point, for
instance?). Then the regex functions could just work directly on the
buffer, but without knowledge of the gap.
--
(domestic pets only, the antidote for overdose, milk.)
address@hidden * Lars Magne Ingebrigtsen
- Re: convert regex.c, strftime.c mktime.c to standard C, (continued)
- Re: convert regex.c, strftime.c mktime.c to standard C, Andreas Schwab, 2010/11/19
- 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, Eli Zaretskii, 2010/11/20
- 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, Eli Zaretskii, 2010/11/20
- 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, David De La Harpe Golden, 2010/11/20
- 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, 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 <=
- 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, 2010/11/22
- 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