[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: |
Bruno Haible |
Subject: |
Re: convert regex.c, strftime.c mktime.c to standard C |
Date: |
Sat, 20 Nov 2010 12:00:06 +0100 |
User-agent: |
KMail/1.9.9 |
Richard Stallman asked:
> regexp.c might be harder. Would Emacs work with the current
> regex.c from gnulib, or does it lack some features added for Emacs?
Emacs appears to rely on an efficient re_search_2 and re_match_2 function.
Whereas the implementation of re_search_2 and re_match_2 in glibc and gnulib
concatenates the two given strings in a single malloc'ed area, performs the
search, and then frees the malloc'ed area. Depending on the typical sizes of
strings that are passed to re_search_2 and re_match_2, this may or may not
be a performance killer.
Bruno
- 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 <=
- 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, 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