emacs-devel
[Top][All Lists]
Advanced

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

Re: point-min and 1


From: Miles Bader
Subject: Re: point-min and 1
Date: Thu, 13 Aug 2009 08:03:27 +0900

Eli Zaretskii <address@hidden> writes:
>> IMHO writing `(goto-char 1)' is bad style because it exhibits a low
>> level detail of Elisp implementation, namely that it sees buffer
>> positions as numbers counted from 1.
>
> OTOH, replacing a constant with a function call might make a
> difference.

(point-min) has its own byte-code, so it's essentially the same speed as
a constant.

-miles

-- 
Any man who is a triangle, has thee right, when in Cartesian Space,
to have angles, which when summed, come to know more, nor no less,
than nine score degrees, should he so wish.  [TEMPLE OV THEE LEMUR]




reply via email to

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