Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Compilation Speed

Name: Anonymous 2011-02-16 21:14

I have this code:
http://rghost.net/4410616

And it kills SBCL. But if I replace my-lst with

(defmacro my-lst (&rest xs)
  `(list ,@xs))

it compiles much faster.

Name: Anonymous 2011-02-17 12:17

>>7
Less babbling, more understanding. >>6 was recommending that if you have lots of random and complex code to execute, you should use an interpreter. And lambda reduction doesn't help here, since it doesn't happen before compilation (duh), which is the pointless step you're trying to avoid.

>>9
Lolwut. If you tryed to compile Java source at runtime for lots of one-off code it sure would be a problem. Especially considering javac will compile, then the JVM will undo a chunk of that work on loading to make it easier to work with. Then the actual JIT will probably never happen, since you're only running once.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List