-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
While investigating monarch-initiative/monarch-app#819, I noticed a bottleneck in loading the "merged" context in these lines in curie:
Is it necessary to check for duplicate prefixes on known-good prefix maps (i.e. those bundled with this package)? If not, the converter loaded here:
prefixmaps/src/prefixmaps/io/parser.py
Lines 30 to 31 in c61e812
| if isinstance(names, str): | |
| return load_context(names, refresh=refresh).as_converter() |
can be initialized with strict=False, resulting in a speedup of about ~15s on the "merged" context. I am happy to create a PR if that sounds okay.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels