freenode/#sicl - IRC Chatlog
Search
18:19:40
copec
Moving that little optimization would still have it check ,(if (= 1 (length store-variables)) during runtime though, right?
18:19:58
copec
It seems the definitions could be updated during runtime, so it would always have to check that
18:20:34
pfdietz
Issue of /= optimization has been raised for SBCL. https://bugs.launchpad.net/sbcl/+bug/1745196
18:21:42
copec
Does the standard say/imply if setf definitions are changed than code that depends on them needs to be re-expanded?
18:23:37
pfdietz
You want your build system set up so there are dependencies from macro defns to the files that use them, so changing the former causes the latter to be recompiled.
18:32:47
copec
pfdietz in reply to #5 in https://bugs.launchpad.net/sbcl/+bug/1745196 "That's what she said"
21:46:33
jcowan
The simplest approach is just to sort the numbers and then in a single pass determine that every pair of adjacent numbers is distinct. Granted, this takes more space than the trivial quadratic algorithm.
21:47:35
Shinmera
I would be willing to bet that the number of uses of /= with a number of arguments where the O matters is zero