-
Notifications
You must be signed in to change notification settings - Fork 72
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Decrease initial size of symbol cache hash table
Using 2^23 allocates 128MB memory for the hash table. Seems like a waste of memory, especially for small scripts. For example, I didn't notice a huge difference in time between 1000 and the old number when compiling most of YSI includes and tests. Hash tables double in size when they need more space, it's pretty efficient (at least this implementation does so).
- Loading branch information
Showing
1 changed file
with
39 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters