>>>> "SJT" == Stephen J Turnbull
<turnbull(a)sk.tsukuba.ac.jp> writes:
>>>> "mb" == Martin Buchholz
<martin(a)xemacs.org> writes:
mb> I'm sure a smart guy like David
wouldn't use (+ x 0) to turn a
mb> marker into an integer...
SJT> No, but a macro that he wrote, called with an argument of 0, very well
SJT> might, if I understand the process correctly. Surely a human would
SJT> write (marker-position 0). The byte-compiler used to be smart enough
SJT> to do that, now it has been lobotomized. Again, IUTPC.
^^^^ ^^^^^
what? ?????
You mean
(defmacro fast-marker-position (x) (+ x 0))
as a speed hack?
Yes, I can see someone (like me?!) doing this. Good point.
SJT> I thought it was clear that that's what worried me all along.
I still think optimizing (+ x 0) to x was the Right Thing to do.