Re: Tail self-call optimization in generated C code?

2017-08-21 Thread Eric Brunel
Le 2017-08-21 14:55, PR a écrit : 2017-08-21 14:11 GMT+02:00, Eric Brunel : Hello all, I'm trying to get ECL to optimize tail self-calls in the C code generated from the Lisp files and it looks like I'm missing something, because I can't find a way to do that. Here is an example that works (n

Re: Tail self-call optimization in generated C code?

2017-08-21 Thread PR
2017-08-21 14:11 GMT+02:00, Eric Brunel : > Hello all, > > I'm trying to get ECL to optimize tail self-calls in the C code > generated from the Lisp files and it looks like I'm missing something, > because I can't find a way to do that. Here is an example that works (not written by me, it's from c

Tail self-call optimization in generated C code?

2017-08-21 Thread Eric Brunel
Hello all, I'm trying to get ECL to optimize tail self-calls in the C code generated from the Lisp files and it looks like I'm missing something, because I can't find a way to do that. Here is the behavior I'm getting for this simple Lisp function: (defun enumerate (l &optional (index 0) (re

Re: Android question: how to connect to swank, running on android?

2017-08-21 Thread PR
Next update: attached there are 2 logs from swank (I enabled swank:*log-events*). - log 1 is from desktop REPL (which works) - log 2 is from tablet REPL, which disconnects after 1, sometimes 2 seconds The error message shown in Emacs is: Error running timer `slime process available input':