-
Notifications
You must be signed in to change notification settings - Fork 176
Closed
Labels
enhancementNew feature or requestNew feature or request
Description
sql
queries —using the function in js code blocks, or within sql code blocks— can depend on variables that change often, such as the value of an interactive range slider.
The performance of these queries can suffer from the sheer quantity of queries sent during interaction, as they need to be executed in turn. Furthermore, it is a huge waste of compute, since all the queries but the last correspond to an invalidated state of the cell, and are discarded after execution.
This problem generalizes to all asynchronous functions.
Registering asynchronous functions per cell—so that each cell only runs one query at a time, and skips the queries launched by cells that have been invalidated—could lead to a dramatic performance boost.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request