|
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? Nope. 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? Tom
[Prev in Thread] | Current Thread | [Next in Thread] |