[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#6388: Should not match data be set on misses?

From: Stefan Monnier
Subject: bug#6388: Should not match data be set on misses?
Date: Thu, 10 Jun 2010 14:57:01 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

>> The main obstacle to such a change are:
>> - it breaks some code.
> Aka it makes some bugs (bad assumptions) surface. That is not always bad.

I really meant bugs, as in: the code consciously takes advantage of
current behavior.  Those assumptions are only bad if we define them
that way.

> Yes, that is true. However the current behavior probably wastes a lot
> of time for those unaware of it.

Just like with programming with monitors where you're taught "always do
the wait within a `while' loop", regexp-patching should always take
place within a `if' or equivalent,


reply via email to

[Prev in Thread] Current Thread [Next in Thread]