I was wondering if it is possible to run a second task beside the perform task with lower priority in a pure data external.
My problem is that I have to find an index in a database which is very time consuming. The bigger the database is, the longer it takes, so at some point it cannot finish the search within the time window of the perform task and I have to choose a bigger buffer size. Therefore I would like to run the index search in a second task and the perform task works with the old index until the second task found a new one, even if it takes four or more cycles of the perform task.
Any ideas how this can be done?
Thanks in advance, Klemenz!
edit: Actually I think the index search is finished within the perform task cycle, but it causes a lot of CPU load.
But still if the index search would run in a second task I would save a lot of CPU load and I could use bigger