Closed kilianmh closed 3 weeks ago
In fact, CCL and ECL have optimized ub64ref/le
and ub32ref/le
functions, so I tried adding support for CCL and ECL to the compiler macros, but it didn't really improve performances (it even made it much worse in some cases).
I added a (declare (ignorable env block-length ...))
form to remove the compiler warnings.
Thank you @glv2 Fixed in ca8880797cbe235a94c0178871807d7fe476330a
The compiler macro
xor-block
andcopy-block
in src/common are only for sbcl on x86 or x86-64.So should we have a
#+(and sbcl (or x86 x86-64))
before these compiler macros so other implementations do not bother?This should avoid compiler warnings for unused variables and slightly increase compilation speed.
E.g. on
CCL
we get these warnings during compilation when loading withasdf
: