[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ptrdiff_t misuse [was :Re: (empty)]
From: |
Stefan Monnier |
Subject: |
Re: ptrdiff_t misuse [was :Re: (empty)] |
Date: |
Sat, 30 Jun 2012 08:07:55 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.1.50 (gnu/linux) |
>> if someone ever bumps into a problem
>> because of such an overflow, I'll be*super* happy, because it means
>> that all the performance problems we get with long lines have
>> been fixed.
> No, if the overflow happens to generate a small integer,
> Emacs will run quickly and incorrectly
> without the patch in question.
But "fixing" the code like you have will just make it run "correctly"
and so super-extra slow that the user will just think it's frozen.
So, better keep the code clean since in any case it won't work,
Stefan