Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Speed up subclass checks #2

Open
fcbr opened this issue Jun 11, 2016 · 2 comments
Open

Speed up subclass checks #2

fcbr opened this issue Jun 11, 2016 · 2 comments

Comments

@fcbr
Copy link
Member

fcbr commented Jun 11, 2016

Checking whether Animal is subclass of OrganicObject takes several minutes. I haven't been able to check whether Animal is subclass of Entity at all.

Ways of improving this:

  • Follow sigma and cache the subclass hierarchy. Ideally all transitive relations could be cached, but subclass is used extensively;
  • Investigate if something in our transformation is making this harder than it should be;
  • Investigate if SUMO itself is making it harder than it should be;
@arademaker
Copy link
Member

What could make things harder? Do you have any particular suspicion ?

@fcbr
Copy link
Member Author

fcbr commented Jun 11, 2016

I tried a simple example involving completely artificial classes class1, class2, and class3 (to exclude problems that may be caused by partition, etc.) and it still takes several minutes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants