Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[REBOL] Re: Threading continued

From: atruter:labyrinth:au at: 30-Jan-2004 9:54

Hi Maarten,
> Question: is this a thing any of you want despite the performance hit of > 400% ?
In my case, it depends on "where" this performance hit is. Take the following example: do [ init-func big-loop-func end-func ] Now, if 'do takes 0.001s to interate through these calls and your 'eval func takes 0.004s that's OK. If 'big-loop-func takes 10s to evaluate, but the use of 'eval blows this out to 40s then we have a problem. So I suppose my question is, once 'eval hits a func call does it effect how long it takes to evaluate that function in and of itself?
> It is easy for me to get there, but I need to know if there is anybody > who'd like to see it available.
Depends on answer to above, but I've got a couple of interesting things I could do with this (multi-threaded listener, background IO writers, etc). Regards, Ashley<