From: Eli Zaretskii <eliz@gnu.org>
To: Stefan Monnier <monnier@IRO.UMontreal.CA>
Cc: rms@gnu.org, emacs-devel@gnu.org
Subject: Re: newline cache
Date: Tue, 22 Apr 2014 20:46:16 +0300 [thread overview]
Message-ID: <837g6hb6l3.fsf@gnu.org> (raw)
In-Reply-To: <jwv38h5zbgz.fsf-monnier+emacs@gnu.org>
> From: Stefan Monnier <monnier@IRO.UMontreal.CA>
> Cc: Eli Zaretskii <eliz@gnu.org>, emacs-devel@gnu.org
> Date: Tue, 22 Apr 2014 10:28:19 -0400
>
> Maybe add a monitoring code, which (when enabled at compile-time) always
> checks the return value of that cache against the non-cached result?
As I explained in a previous message, when the value returned by the
cache is wrong, it's too late, because the corruption happened some
time in the past. It's like debugging memory allocation bugs by
catching exceptions in 'free'.
next prev parent reply other threads:[~2014-04-22 17:46 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-04-21 16:28 newline cache Richard Stallman
2014-04-21 16:55 ` Eli Zaretskii
2014-04-22 5:37 ` Richard Stallman
2014-04-22 14:28 ` Stefan Monnier
2014-04-22 17:46 ` Eli Zaretskii [this message]
2014-04-22 17:44 ` Eli Zaretskii
2014-04-23 5:31 ` Richard Stallman
2014-04-23 15:14 ` Eli Zaretskii
2014-04-23 5:31 ` Richard Stallman
2014-04-23 15:23 ` Eli Zaretskii
2014-04-24 0:33 ` Richard Stallman
2014-04-25 9:20 ` Eli Zaretskii
2014-04-26 19:58 ` Eli Zaretskii
2014-04-27 2:42 ` Eli Zaretskii
2014-04-29 8:41 ` Jarek Czekalski
2014-04-29 14:25 ` Eli Zaretskii
2014-05-21 8:41 ` Damien Wyart
2014-05-21 13:09 ` Stefan Monnier
2014-05-21 15:30 ` Eli Zaretskii
2014-05-21 15:22 ` Eli Zaretskii
2014-05-21 15:22 ` Eli Zaretskii
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=837g6hb6l3.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=emacs-devel@gnu.org \
--cc=monnier@IRO.UMontreal.CA \
--cc=rms@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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.