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

[REBOL] Re: Quote (Paren) Benchmark

From: greggirwin:mindspring at: 13-Dec-2001 11:53

Hi Mark, << The quote paren word 'a is 100% faster in these circumstances than the word 'b does function version. Anyone care to try out some more heavy duty benchmarking to see what avarage speed gains are overall by coding without function calls? >> The speed gains will be based on the amount of work you're doing in the functions relative to the overhead of a function call. I.e. your benchmark shows the maximum speed gain because the function call overhead should be the only difference. If you put code in that takes 100 times as long to execute as a function call, the speed gain will be minimal as the function call overhead is such a small part of the big picture. If you're using it in place of lots of simple little functions, it should provide a good boost. I've already tried it out (not for benchmarking purposes) and can see some really good uses for it. Another handy tool in the toolbag. Thanks! --Gregg