[Top][All Lists]

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

byte-opt.el vs declare

From: Sam Steingold
Subject: byte-opt.el vs declare
Date: Tue, 26 Jul 2022 15:57:39 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (darwin)

I thought that byte-opt was intended to set `pure'. `side-effect-free'
&c properties for functions that are defined in C and functions defined
in Lisp should get these from `declare'.

However, I see that, e.g., `xor' uses `declare' but `string-prefix-p' is
listed in byte-opt and does not have a declaration.

What is the official policy?

Thank you.

Sam Steingold (http://sds.podval.org/) on darwin Ns 10.3.2113
http://childpsy.net http://calmchildstories.com http://steingoldpsychology.com
https://iris.org.il https://www.memritv.org https://ffii.org
Failure is not an option. It comes bundled with your Microsoft product.

reply via email to

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