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

Firefox: "too much recursion" while checking for circular references #30

Open
ncote opened this issue Jul 31, 2016 · 2 comments
Open

Firefox: "too much recursion" while checking for circular references #30

ncote opened this issue Jul 31, 2016 · 2 comments

Comments

@ncote
Copy link

ncote commented Jul 31, 2016

The call stack is full of cell.fx.checkCircularReference. Rerunning with checkCircularReference: false, fails similarly on cell.fx.processDependency.

There are about 4500 cells, defined in the data: property, not on DOM elements. No circular dependencies, I think (the original Excel didn't have any). Perhaps I've just reached a natural limit? Could dependency handling be flattened, i.e. turned into an iterative rather than recursive algorithm?

Here: http://spreadsheet.aviscuriosa.com/browserscript-calx2.0.html

@ikhsan017
Copy link
Member

It seems a great idea and maybe calculation will be faster, but, I think the process to make dependency tree flattened will need more effort to implement.

@ashish8488
Copy link

ashish8488 commented Jul 29, 2020

Hello @ikhsan017 ,
I am also facing the same error message "too much recursion". But in my case, it does not matter If I make circular references as true or false.

One additional thing:
When I make circular reference to true, then the value in the cell where I have written formula gets blank. I get the calculated values when I make circular reference to false.

Please look into it asap.

Thank you so much for this library. It is really helping me.

Regards,
Ashish Shah

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

3 participants