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

Improve performance with smart call stack depths #19

Open
marcus-pousette opened this issue Mar 9, 2023 · 0 comments
Open

Improve performance with smart call stack depths #19

marcus-pousette opened this issue Mar 9, 2023 · 0 comments

Comments

@marcus-pousette
Copy link
Member

with #18 call stack depth is reduced so that huge arrays can be deserialised into. This creates a slight inefficiency for small class deserialisation, where call stack depth is not a problem.

I more performant solution would be:

  • For non arrays, call stack depth should grow
  • For arrays (large ones): Call stack depth should reset to prevent "Maximum call stack size exceeded" errors (and overall improve performance of the application)
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