emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] master 064701d 2/3: Increase the obarray size.


From: Ken Raeburn
Subject: [Emacs-diffs] master 064701d 2/3: Increase the obarray size.
Date: Fri, 30 Dec 2016 23:02:57 +0000 (UTC)

branch: master
commit 064701dc2048722a7ebd5b602e8c060bf3da538e
Author: Ken Raeburn <address@hidden>
Commit: Ken Raeburn <address@hidden>

    Increase the obarray size.
    
    In a typical GNU/Linux/X11 build, we wind up with over 15k symbols by
    the time we've started.  The old obarray size ensured an average chain
    length of 10 or more.
    
    * src/lread.c (OBARRAY_SIZE): Increase to 15121.
---
 src/lread.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/lread.c b/src/lread.c
index 35348f1..6005a7c 100644
--- a/src/lread.c
+++ b/src/lread.c
@@ -4116,7 +4116,7 @@ OBARRAY defaults to the value of `obarray'.  */)
   return Qnil;
 }
 
-#define OBARRAY_SIZE 1511
+#define OBARRAY_SIZE 15121
 
 void
 init_obarray (void)



reply via email to

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