Merging of two small structures with large-arity predicates is slow and memory-intensive

Issue #675 new
Joachim Jansen created an issue

Attached file performs merging of two structure that are completely disjunct and have small domains (<10 elements / type). Running the attached file shows that this merging cannot be done with even +3GB of memory, whilst the operation is intuitively simple.

Comments (5)

  1. Bart Bogaerts

    Very large arity -> 8^10 CF atoms

    Merge is not very good yet... Many improvements are possible.

  2. Joachim Jansen reporter

    Suggested solution: detect cases in merge(..) where it is not necessary to iterate over ct/cf tables?

  3. Broes De Cat

    Additional example: Merging tests/mx/simplemx/autocomplete_speed.idp with a two-valued version of itself takes 80 sec.

  4. Log in to comment