bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#25605: [DRAFT PATCH 1/2] Simplify use of FOR_EACH_TAIL


From: Eli Zaretskii
Subject: bug#25605: [DRAFT PATCH 1/2] Simplify use of FOR_EACH_TAIL
Date: Thu, 02 Feb 2017 19:29:43 +0200

> From: Paul Eggert <address@hidden>
> Date: Wed,  1 Feb 2017 15:56:21 -0800
> Cc: Paul Eggert <address@hidden>
> 
> * src/data.c (circular_list): New function.
> * src/lisp.h (FOR_EACH_TAIL): Use Brent’s algorithm and C99 for-loop
> decl, to eliminate the need for the args TAIL, TORTOISE and N, and
> to speed things up a bit on typical hosts with optimization.
> All uses changed.

Thanks, but I wonder if you could add some tests for the relevant
functions, I really feel uneasy about changing the implementation of
such basic functionality without any regression tests.





reply via email to

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