Mucking around with compilation

Alan Ruttenberg alanruttenberg at
Fri Nov 4 04:39:22 UTC 2016

So I made a pass at doing this cleanly. Please check out the changes at
 (precompiler.lisp, optimize-java-call.lisp)

(second one has commit message with documentation)

It would be good to get one of the folks who have worked on the compiler to
see if I've done anything wrong. ABCL builds fine with this and I didn't
see any changes in the abcl.lisp tests.

For Mark, the test- file has this info but here it is again - 10000 calls
of (#"compile" 'regex.Pattern ".*")

With optimization: (INVOKE-RESTARGS-MACRO "compile" (QUOTE
Without optimization: ((LAMBDA (#:G85648 &REST #:G85649)
(INVOKE-RESTARGS "compile" #:G85648 #:G85649 NIL)) (QUOTE

0.0 seconds real time
0 cons cells

0.011 seconds real time
0 cons cells

0.325 seconds real time
800156 cons cells

On Thu, Oct 27, 2016 at 12:46 PM, Alan Ruttenberg <alanruttenberg at>

> On Thu, Oct 27, 2016 at 3:27 AM, Mark Evenson <evenson at> wrote:
>> Cool work!  What sort of efficiency gains do you expect for JSS here?
> Not sure yet. The thing that actually drove it was that I didn't like
> seeing the redundancy in the stack traces when I was debugging. At first I
> played around with trimming them out of the stack trace but that ran in an
> issue - I couldn't figure out exactly how the indexing of stack frames was
> coordinated between emacs and lisp. Then it occurred to me that they didn't
> need to be there in the first place. So it's more of an aesthetic thing for
> now.
> Alan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the armedbear-devel mailing list