cancerDHC / umls-rrf-scala

A very basic library for parsing files in the UMLS RRF format
MIT License
4 stars 2 forks source link

Memoized the getParents() method #9

Closed gaurav closed 4 years ago

gaurav commented 4 years ago

I noticed while profiling this code that the getParents() method is called quite frequently, so I added Scalacache-based memoization to it.

Should be merged after PR #5.