[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [RFC] caar/cadr/cdar/cddr

From: Tom Tromey
Subject: Re: [RFC] caar/cadr/cdar/cddr
Date: Thu, 12 Jul 2012 10:53:03 -0600
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1 (gnu/linux)

>>>>> "Dmitry" == Dmitry Antipov <address@hidden> writes:

Dmitry> These are widely used, so why not doing them as C primitives and
Dmitry> corresponding bytecodes?  It shouldn't be too hard to tweak
Dmitry> byte-opt.el to optimize (car (cdr X)) -> (cadr X) etc., and so
Dmitry> emit new bytecodes.

One other thing worth noting -- if we used vmgen, we could get
"superinstructions" like this for free, without needing to dedicate
special byte codes to them.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]