Skip to content
Snippets Groups Projects
Commit 522bb6bb authored by Zhicheng Liu's avatar Zhicheng Liu
Browse files

Return all adaptors in the registry in get_all_DBAdaptors if no args supplied

Previously, when no args (either species or group) supplied, the implementation
at get_all_DBAdaptors requires looping through '_DBA' array and returns an array
of each DBA's reference. It takes long time if there are large number of DBAs
(e.g. >0.5s for ~88k DBAs).

This change returns the reference to the '_DBA' array itself directly in such cases.
parent 985f2e36
No related branches found
No related tags found
2 merge requests!194Return all adaptors in the registry in get_all_DBAdaptors if no args …,!194Return all adaptors in the registry in get_all_DBAdaptors if no args …
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment