From: Stefan Monnier <monnier@IRO.UMontreal.CA>
To: Ivan Andrus <darthandrus@gmail.com>
Cc: Emacs development discussions <emacs-devel@gnu.org>
Subject: Re: [RFC, experimental] save_{excursion,restriction}
Date: Tue, 24 Jul 2012 05:14:39 -0400 [thread overview]
Message-ID: <jwvwr1tfrq2.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <F80CC57E-0113-482C-9CAE-743A85669E1A@gmail.com> (Ivan Andrus's message of "Tue, 24 Jul 2012 08:31:14 +0200")
> Now I'm curious. Why should save-restriction be rare?
I mean "dynamically rare". I.e. I don't expect it to happen very often
to change the restriction in the inner loops.
> Would it be better to use markers in this case?
In my experience, if markers can be used instead, then yes I do
recommend markers. They have much fewer interactions with other things.
Stefan
next prev parent reply other threads:[~2012-07-24 9:14 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-07-23 17:07 [RFC, experimental] save_{excursion,restriction} Dmitry Antipov
2012-07-23 23:45 ` Stefan Monnier
2012-07-24 5:16 ` Dmitry Antipov
2012-07-24 9:37 ` Stefan Monnier
2012-07-24 11:28 ` Dmitry Antipov
2012-07-24 22:05 ` Stefan Monnier
2012-07-25 9:38 ` Dmitry Antipov
2012-07-25 23:44 ` Stefan Monnier
2012-07-26 5:14 ` Dmitry Antipov
2012-07-26 23:24 ` Stefan Monnier
2012-07-24 6:31 ` Ivan Andrus
2012-07-24 9:14 ` Stefan Monnier [this message]
2012-07-27 3:51 ` Chong Yidong
2012-07-27 8:00 ` Dmitry Antipov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=jwvwr1tfrq2.fsf-monnier+emacs@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=darthandrus@gmail.com \
--cc=emacs-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).