At 10:24 -0700 5/18/04, tim wen wrote:
>another question: i've been using LV2 style globals to pass data between parallel loops
>and am wondering if a queue is a better way to go?

"Scott Hannahs" <[EMAIL PROTECTED]> wrote:
Probably. If you are just passing data in one direction it can work well. With a LV2 style global you can build in internal processing and value manipulation to the global (ie intelligent global).

If you're passing LARGE data, probably not, because LV2 style globals are more efficient than queues i.e. you can avoid making extra copies of the data. For small data where that doesn't matter, queues or notifiers are simpler to use.

If your source loop is periodic and your destination loop is event driven,
you might also want to consider generating a user-defined event that
contains your data. That's probably the slowest choice, but can be the
cleanest looking method.

--David Moore


-------------------------------------------------------------------------
-W-H-E-A-T-W-H-E-E-L-L-E-N-S-T-O-W-I-N-D-O-W-I-N-G-G-P-R-O-G-R-A-M-W-E-B-
-------------------------------------------------------------------------
-- David A. Moore ----------------------------- Moore Good Ideas, Inc. --
-- (801) 773-3067 --------------------------------- NI Alliance Member --
-- 1996 Allison Way --------------------------- www.MooreGoodIdeas.com --
-- Syracuse, Utah 84075 ------------- [EMAIL PROTECTED] --
-------------------------------------------------------------------------






Reply via email to