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

Simplified evaluation model #122

Open
Bubobubobubobubo opened this issue Jan 19, 2024 · 0 comments
Open

Simplified evaluation model #122

Bubobubobubobubo opened this issue Jan 19, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@Bubobubobubobubo
Copy link
Owner

Topos is evaluating too much code, too often. It is easy to imagine an evaluation model that doesn't repeat the costly operation of interpreting various files super often but just one big file. Here are some tracks to follow:

  • merge everything into one big file with bits evaluated conditionnally
  • mark a part of that file for evaluation if a script is called. Unmark that part once the evaluation is done.

It should be possible to greatly limit the number of evaluations, thus reducing the performance cost of simply running code.

@Bubobubobubobubo Bubobubobubobubo added the enhancement New feature or request label Jan 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant