Skip to content

Improve performance of descendant determination #378

@paulolaup

Description

@paulolaup

IS:

The current performance of the descendant counting algorithm is not acceptable for large value sets based on code systems with complex hierarchies (e.g. SNOMED CT). The issue seems to be that results already calculated during determination of the descendant count of a previous concepts are not used for other concepts. The result is that there are many duplicate calculations causing a large performance hit for large hierarchies.

TODO:

Implement lookup for already calculated counts and use them to calculate counts of ancestor concepts.

Metadata

Metadata

Assignees

Labels

Priority 2major problem - important to fixbugSomething isn't workingcsoCohort Selection Ontology

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions