scaife-viewer / backend

Packages and utilities to build Scaife Viewer backends using ATLAS / CTS resolvers
3 stars 2 forks source link

Improve performance within destructure_urn method #37

Open jacobwegner opened 3 years ago

jacobwegner commented 3 years ago

Since destructure_urn runs over each textpart being ingested, but works through each part of the URN hierarchy when it does so, we may end up with a small performance penalty calling the get_<kind>_metadata methods each time.

We should likely move those metadata functions out to a separate layer.