forked from erlang/otp
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Produce less garbage on module lookup
The previous implementation would always build (and reverse) the code paths whenever looking up a module, even when all paths were cached. The new implementation uses a map with unique integers and we only update the cache when it is stale.
- Loading branch information
Showing
1 changed file
with
119 additions
and
106 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