You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Similar desktop spreadsheet application supports up to 64 levels for nested function. We should check how many we can support, add a test and document the limitation.
We're limited only by the JS call stack, so we support more than 64 levels. I'm not sure if it's worth it to limit this artificially (especially that we would have to spend time only to limit this).
@wojciechczerniak can we close this issue? We need to a) support 7 nesting levels according to the requirement set by OpenFormula standard and b) as @swistak35 says, limit it artificially so we are sure what we really support (and tell people about it in the docs)
The depth of 64 nested functions works well on my notebook. I can go up to 126 nested functions until I get the maximum call stack error. This doesn't seem to be related to the nested formula (calculation complexity?).
Activity
swistak35 commentedon Nov 19, 2019
We're limited only by the JS call stack, so we support more than 64 levels. I'm not sure if it's worth it to limit this artificially (especially that we would have to spend time only to limit this).
bardek8 commentedon Nov 29, 2019
@wojciechczerniak can we close this issue?
krzysztofspilka commentedon Jan 10, 2020
@wojciechczerniak can we close this issue? We need to a) support 7 nesting levels according to the requirement set by OpenFormula standard and b) as @swistak35 says, limit it artificially so we are sure what we really support (and tell people about it in the docs)
wojciechczerniak commentedon Jan 10, 2020
@krzysztofspilka You tell me, is the
stack overflowthe right way to inform the user about reaching the limit?wojciechczerniak commentedon Feb 18, 2020
The depth of 64 nested functions works well on my notebook. I can go up to 126 nested functions until I get the maximum call stack error. This doesn't seem to be related to the nested formula (calculation complexity?).
hyperformula/test/conformance/small-group-evaluator.spec.ts
Lines 79 to 91 in d3e0f0f
We should run this test on mobile devices to see how this behaves on less powerful processors.
I don't see a reason to limit this ATM. We should wait for the feedback from the community.
Add SEQUENCE built-in function (#1645)