[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [sc-dev] [approve] Function-block change to return function result, and accept arguments
I thought that's what you meant :)
I posted this on the BBS, along with a benchmark showing that the performance hit is severe enough that they should avoid it like the tapwater in Thailand. (A simple if-else is 2.55 times faster.)
hjh
On Thursday, Dec 9, 2004, at 19:19 US/Eastern, James McCartney wrote:
err, I mean..
meth = {|a| block {|break|
a.isEven.if {break.(a) };
// processing
break.(result)
}};
____________________________________
H. James Harkins /// dewdrop_world
http://www.dewdrop-world.net
"If attacked by a lion, thrust your arm down his throat.
This takes some practice." -- Cyril Connolly