[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Emacs-diffs] master 064701d 2/3: Increase the obarray size.
From: |
Stefan Monnier |
Subject: |
Re: [Emacs-diffs] master 064701d 2/3: Increase the obarray size. |
Date: |
Sat, 31 Dec 2016 09:18:24 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) |
> 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.
Have you checked the performance impact? E.g. compared to a length of 8K?
I do believe 15K is better than 1.5K, but an average length of 1 sound
like the hash array might end up being larger than the optimal size.
Stefan
- Re: [Emacs-diffs] master 064701d 2/3: Increase the obarray size.,
Stefan Monnier <=