MOO-cows Mailing List Archive
[Prev][Next][Index][Thread]
Re: profiling
> --- "Adams, Charles" wrote:
>> I personally would like to know which builtins and list operations
>> are most expensive and possibly bump up the tick cost to reflect it.
> Mmm. The 'in' operator takes only 2 ticks whether it is 2 in
> {1,2,3} or #<large> in players() on LambdaMOO :-P
Right. Which means that by simple inspection of a verb you can
determine how many ticks it will use without reference to what values
it's operating on. Loops are the exception to this, of course, but
you have a much better grip on when those rather explicit actions will
happen.
Jay Carlson
nop@nop.com nop@ccs.neu.edu nop@kagoona.mitre.org
Flat text is just *never* what you want. ---stephen p spackman
References:
- re: profiling
- From: Jefferson.M.Dubrule@dartmouth.edu (Jefferson M. Dubrule)
Home |
Subject Index |
Thread Index