From: Matt P. <pil...@gm...> - 2006-11-10 15:30:25
|
This is a problem I've been having with 0.9.18 on OS X x86 and OS X PPC both. I've been trying to get some of my code to go faster, and in that code, I make extensive (probably too extensive use!) of defgeneric. I'm trying to find out where that's causing me efficiency problems, which means that I'm SB-PROFILE:PROFILEing a bunch of generic functions. The problem is that when I recompile a file where one of those functions is defined, I get an error saying: "FOO already names an ordinary function or a macro. [Condition of type SB-INT:SIMPLE-PROGRAM-ERROR]" I'm guessing that SB-PROFILE somehow "replaces" the generic function with an ordinary one behind the scenes, but the error is sort of irritating me. Is there some way to get around it that doesn't require me to remember to (unprofile) before I compile every time? Thanks, Matt Pillsbury |