alfred-wunderlist-workflow icon indicating copy to clipboard operation
alfred-wunderlist-workflow copied to clipboard

Run workflow input handling as a daemon with minimal logic in Run Script filters

Open idpaterson opened this issue 8 years ago • 0 comments

Much of the delay in responding to user input in the workflow is due to loading Python modules and connecting to the SQLite database. This is mitigated by lazily loading expensive modules, but there is still a lot that needs to happen in order to handle the next character in your task entry and the workflow is not as responsive as it could be.

By communicating with a short-lived python daemon rather than starting the python interpreter for each change in input, the workflow could avoid that setup cost and achieve a much more responsive experience.

idpaterson avatar Jan 01 '16 16:01 idpaterson