-
-
Notifications
You must be signed in to change notification settings - Fork 278
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Slightly improve editor memory usage for large projects (#8375)
* Use open addressing for WeakInterner hash map * Added endpoint interner statistics to dev module * Refactor WeakInterner in preparation for non-linear open addressing * Added timings to WeakInterner stats * Fixed WeakInterner tests to not use the global endpoint interner * Use prime-sized hash table capacities in WeakInterner * Add substeps for large WeakInterner capacity jumps * Improved hash code calculation of Endpoints * Use double hashing to resolve slot conflicts in WeakInterner * Use non-boxed node-id in Endpoints # Conflicts: # editor/src/clj/util/coll.clj
- Loading branch information
Showing
8 changed files
with
475 additions
and
135 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
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
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
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
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
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
Oops, something went wrong.