[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] Add new lisp function length= with bytecode support
From: |
Gdobbins |
Subject: |
Re: [PATCH] Add new lisp function length= with bytecode support |
Date: |
Tue, 14 Mar 2017 02:06:22 -0400 |
> Please move most of that to a separate function (which I guess will take the list, the op and the value to which to compare the list).
Done, but since the default case of the switch needs the bytecode stream and execution stack to be at a different point than all of the other cases, the function needs the relevant pointers.
> Similarly, here (and below), I'm wondering if we can't reduce the code duplication.
They are now defined via a macro.
> Furthermore, you might like to declare them static, so thecompiler is more likely to inline them.
> Don't expose them in lisp.h, since they're only used in bytecode.c.
Done.
0002-Optimize-bytecode-interpeter-for-numeric-comparisons.patch
Description: Text Data
- Re: [PATCH] Add new lisp function length= with bytecode support, (continued)
- Re: [PATCH] Add new lisp function length= with bytecode support, John Wiegley, 2017/03/06
- Re: [PATCH] Add new lisp function length= with bytecode support, Richard Stallman, 2017/03/06
- Re: [PATCH] Add new lisp function length= with bytecode support, Gdobbins, 2017/03/06
- Re: [PATCH] Add new lisp function length= with bytecode support, Clément Pit-Claudel, 2017/03/06
- Re: [PATCH] Add new lisp function length= with bytecode support, Gdobbins, 2017/03/06
- Re: [PATCH] Add new lisp function length= with bytecode support, Gdobbins, 2017/03/06
- Re: [PATCH] Add new lisp function length= with bytecode support, Ken Raeburn, 2017/03/10
- Re: [PATCH] Add new lisp function length= with bytecode support, Gdobbins, 2017/03/10
- Re: [PATCH] Add new lisp function length= with bytecode support, Gdobbins, 2017/03/12
- Re: [PATCH] Add new lisp function length= with bytecode support, Stefan Monnier, 2017/03/12
- Re: [PATCH] Add new lisp function length= with bytecode support,
Gdobbins <=
- [PATCH] Add new lisp function length= with bytecode support, Constantin Kulikov, 2017/03/07
- Re: [PATCH] Add new lisp function length= with bytecode support, Gdobbins, 2017/03/07
- Re: [PATCH] Add new lisp function length= with bytecode support, Stefan Monnier, 2017/03/07
- Re: [PATCH] Add new lisp function length= with bytecode support, Gdobbins, 2017/03/07
- Re: [PATCH] Add new lisp function length= with bytecode support, Stefan Monnier, 2017/03/07
- Re: [PATCH] Add new lisp function length= with bytecode support, Gdobbins, 2017/03/08
- Re: [PATCH] Add new lisp function length= with bytecode support, Stefan Monnier, 2017/03/08