emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] scratch/raeburn-startup 2fa607a 10/17: Increase the obarra


From: Ken Raeburn
Subject: [Emacs-diffs] scratch/raeburn-startup 2fa607a 10/17: Increase the obarray size.
Date: Thu, 15 Dec 2016 11:33:18 +0000 (UTC)

branch: scratch/raeburn-startup
commit 2fa607aa4362fee417e23501eed0aa50892f3959
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 412cbaf..c9dc222 100644
--- a/src/lread.c
+++ b/src/lread.c
@@ -4241,7 +4241,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]