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

value of evaluated cells is not re-used #60

Open
cd-mkr opened this issue Dec 14, 2022 · 0 comments
Open

value of evaluated cells is not re-used #60

cd-mkr opened this issue Dec 14, 2022 · 0 comments

Comments

@cd-mkr
Copy link

cd-mkr commented Dec 14, 2022

After evaluating a cell, the variable cell.need_update is set to False (line 98 of evaluator.py) but it is never used. Therefore, when another cell needs the value of the previous cell, it gets re-evaluated again. For simple sheets this is no problem but when the cells depend on other cells which again depend on other cells etc, this quickly slows down the evaluation. To avoid this, line 98 should rather be cell.formula.evaluate = False.

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

1 participant