[Top][All Lists]

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

Re: make-variable-buffer-local change

From: Tom Tromey
Subject: Re: make-variable-buffer-local change
Date: Fri, 25 Sep 2009 15:44:15 -0600
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux)

>>>>> "Dan" == Dan Nicolaescu <address@hidden> writes:

Dan> (make-variable-buffer-local 'foo)
Dan> (set (make-local-variable 'foo) 'bar)

Dan> is one of these 2 versions more efficient than the other?


If buffer-locals are too slow, maybe they could be sped up.
The implementation uses a per-alist to store buffer-locals.
Maybe a hash table would be better?


reply via email to

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