summaryrefslogtreecommitdiff
path: root/src/runtime/python/examples
diff options
context:
space:
mode:
authorAndreas Källberg <anka.213@gmail.com>2022-10-02 21:49:56 +0200
committerAndreas Källberg <anka.213@gmail.com>2022-10-04 17:01:47 +0200
commitfef7b80d8e988f6ad8de720a9e3a1098bc5f8a3a (patch)
tree24eff0b33289dae2d8af307442205f433faf12d2 /src/runtime/python/examples
parent3122590e351f769ca6e60dfd4eeaafba1c5c22e8 (diff)
Use a Set in isInherited to speed up long extend lists
Now the time is O(log(n)*m) instead of O(n*m) where n is the number of items in the extend list e.g. abstract FromWordNet = WordNet [ a_couple_Card, a_la_carte_Adv, a_la_mode_Adv, a_little_Card, ... ];
Diffstat (limited to 'src/runtime/python/examples')
0 files changed, 0 insertions, 0 deletions