emacs-devel
[Top][All Lists]
Advanced

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

Re: [PATCH v2] Bound index checks in cl-seq functions


From: Clément Pit-Claudel
Subject: Re: [PATCH v2] Bound index checks in cl-seq functions
Date: Sun, 5 Feb 2017 11:11:22 -0500
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.7.0

On 2017-02-05 02:11, Tino Calancha wrote:
> II) `cl--check-bound-indices' returns on success the sequence[s]
>     length[s], so that callers don't need to recompute them.

This sounds like a good idea, performance wise.  But maybe it would be even 
better to disable these checks when (cl-declaim (optimize (safety 0))) is set?

Clément.



reply via email to

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