# profiling

Jay Carlson (nop@blackburn.ccs.neu.edu)
Thu, 1 Aug 1996 15:08:58 PDT

- Messages sorted by:[ date ][ thread ][ subject ][ author ]

    > --- "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