[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: replace matches in any string
From: |
Lars Magne Ingebrigtsen |
Subject: |
Re: replace matches in any string |
Date: |
Fri, 03 Sep 2010 19:06:23 +0200 |
User-agent: |
Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux) |
David Kastrup <address@hidden> writes:
>>> For one thing I guess it is too late to change the API. For another,
>>> that prevents strings from being garbage-collected as long as they are
>>> present in some match-data. While the same is true of buffers, a dead
>>> buffer does not take significant space.
>>
>> We already save the matched object if it's a buffer,
>
> What about my last sentence before yours did you not understand?
I didn't understand the bit where you seem to imply that saving a
reference to one (1) string would take significant space. (Unless, of
course, you're using a `save-match-data', where you'd save one (1)
string extra per nesting. I think.)
--
(domestic pets only, the antidote for overdose, milk.)
address@hidden * Lars Magne Ingebrigtsen
- Re: replace matches in any string, (continued)
- Re: replace matches in any string, David Kastrup, 2010/09/02
- Re: replace matches in any string, Ted Zlatanov, 2010/09/02
- Recommended gnus spam filter system?, Camm Maguire, 2010/09/02
- Re: Recommended gnus spam filter system?, Frank Schmitt, 2010/09/02
- Re: Recommended gnus spam filter system?, Karl Fogel, 2010/09/02
- Re: Recommended gnus spam filter system?, Thorsten Bonow, 2010/09/03
- Re: replace matches in any string, Stefan Monnier, 2010/09/02
- Re: replace matches in any string, Lars Magne Ingebrigtsen, 2010/09/02
- Re: replace matches in any string, Davis Herring, 2010/09/02
- Re: replace matches in any string, David Kastrup, 2010/09/03
- Re: replace matches in any string,
Lars Magne Ingebrigtsen <=