[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Inefficiency in Bgotoifnil byte-code instruction
From: |
Tom Tromey |
Subject: |
Re: Inefficiency in Bgotoifnil byte-code instruction |
Date: |
Fri, 06 Jul 2012 14:22:33 -0600 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.1 (gnu/linux) |
Stefan> Yes, as I said, I think it's OK. Maybe better would be if the threaded
Stefan> version actually checked that the `value' is correct (i.e. is one more
Stefan> than the previous one) rather than just ignore that argument.
I don't know how to check that aside from writing a loop -- slow -- and
anyway there's no requirement that the values be in any order.
The labels do indirectly use the values:
#define LABEL(OP) [OP] = &&insn_ ## OP
The [OP] on the left-hand-side is using the enum constant to decide
which array slot to initialize. It could just as well use the value,
same difference.
Tom
- Re: Inefficiency in Bgotoifnil byte-code instruction, John Wiegley, 2012/07/01
- Re: Inefficiency in Bgotoifnil byte-code instruction, Tom Tromey, 2012/07/02
- Re: Inefficiency in Bgotoifnil byte-code instruction, Stefan Monnier, 2012/07/03
- Re: Inefficiency in Bgotoifnil byte-code instruction, Tom Tromey, 2012/07/03
- Re: Inefficiency in Bgotoifnil byte-code instruction, Stefan Monnier, 2012/07/03
- Re: Inefficiency in Bgotoifnil byte-code instruction, Tom Tromey, 2012/07/03
- Re: Inefficiency in Bgotoifnil byte-code instruction, Aurélien Aptel, 2012/07/03
- Re: Inefficiency in Bgotoifnil byte-code instruction, Tom Tromey, 2012/07/03
- Re: Inefficiency in Bgotoifnil byte-code instruction, Stefan Monnier, 2012/07/03
- Re: Inefficiency in Bgotoifnil byte-code instruction,
Tom Tromey <=
- Re: Inefficiency in Bgotoifnil byte-code instruction, Stefan Monnier, 2012/07/06
- Re: Inefficiency in Bgotoifnil byte-code instruction, Tom Tromey, 2012/07/09
- Re: Inefficiency in Bgotoifnil byte-code instruction, Stefan Monnier, 2012/07/10
- Re: Inefficiency in Bgotoifnil byte-code instruction, John Wiegley, 2012/07/03
- Re: Inefficiency in Bgotoifnil byte-code instruction, Tom Tromey, 2012/07/06