Skip to content
This repository was archived by the owner on Dec 9, 2025. It is now read-only.

Replace the semi compressed trees by a term stack construction#18

Open
mlaveaux wants to merge 8 commits intomainfrom
feature/term_stack
Open

Replace the semi compressed trees by a term stack construction#18
mlaveaux wants to merge 8 commits intomainfrom
feature/term_stack

Conversation

@mlaveaux
Copy link
Copy Markdown
Owner

@mlaveaux mlaveaux commented Dec 2, 2024

The advantage would be that a tree contains a lot of pointer indirections, namely stored as pointers to children, whereas the stack is simply a contiguous vector. Currently, it is less efficient because the semi compressed trees stores closed terms compressed, i.e. as a single node, which the term stack does not yet do. Furthermore, the evaluation is rather naive and could be replaced by a dedicated procedure. Both should be implemented before merging the pull request.

@mlaveaux mlaveaux added the enhancement New feature or request label Dec 2, 2024
@mlaveaux mlaveaux self-assigned this Dec 2, 2024
@mlaveaux mlaveaux changed the title Replace the semi comrpessed trees by a term stack construction Replace the semi compressed trees by a term stack construction Dec 2, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant