freenode/#sbcl - IRC Chatlog
Search
10:24:33
flip214
How about PARSE-INTEGER only reporting the substring, or showing start and end in the error message?
13:58:25
pfdietz
Calling find-symbol, and then calling intern only when the symbol does not exist, is slightly faster than just calling intern (in the case where the symbol already exists). I wonder how often intern creates a symbol. Probably not too often.
14:06:43
pfdietz
Yes. Also, it's not clear to me that the package lookup optimization for INTERN is happening with FIND-SYMBOL. Tests done with explicit package object arguments.
14:10:25
stassats
i don't believe that to be true, find-symbol being faster than intern, but without actually measuring it
14:15:46
stassats
other than some additional function call overhead, intern calling find-symbol vs directly calling find-symbol
14:18:54
stassats
function call overhead is measurable, but it's insignificant when taking the amount of iterations needed to measure it
14:30:09
stassats
hmm, i see an instances where sb-ext:*derive-function-types* is not taken into account when compiling sbcl itself