-
Notifications
You must be signed in to change notification settings - Fork 62
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve LibMappings::add_mapping performance by using a BTreeMap.
I was seeing performance problems when using LibMappings for JIT mappings, where there is an individual mapping for every JIT function. It was spending a long time inserting into the middle of a sorted Vec. Use a BTreeMap instead.
- Loading branch information
Showing
1 changed file
with
75 additions
and
51 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