Closed turiot closed 10 months ago
Hey,
I'm not sure to understand the example. Is this something that is not working as expected in the current implementation?
If not I'll move this to discussions.
Using a "deepHashCode" to compare vars after snippet execution can be a solution, but with size limitations (huge collections or arrays). Another option is to recompute the whole notebook, excepting snippets which previous executions was time consuming, asking advice to the user. This solution overlaps the restore of a saved notebook. Maybe these options can coexist and be chosen by the user, according to his usage profile (java learning, api testing, data science, ...)
Sorry, discussions was actually the place to post.
Hello, following our exchange on reddit, I think it's a very hard task to detect variables updates, for instance :
Using a "deepHashCode" to compare vars after snippet execution can be a solution, but with size limitations (huge collections or arrays).
Another option is to recompute the whole notebook, excepting snippets which previous executions was time consuming, asking advice to the user. This solution overlaps the restore of a saved notebook.
Maybe these options can coexist and be chosen by the user, according to his usage profile (java learning, api testing, data science, ...)