Download Game! Currently 53 players and visitors. Last logged in:UwinIberiamsspStudmuffinMahjong

BatMUD Forums > Inform > eval costs

 
 
#1
27 Sep 2002 15:18
 
 
Level: 600 [Wizard] Age: 26y, 351d, 18h, 31min and 57s

In effort to optimize the mud for the thousands of players we will have in the
future(!), I coded a small new feature to the set command.

Some of you may know 'set cost' command, which will show evaluation costs
(time it takes to execute the piece of code) for each command you type.

The new option is 'set cost_limited' which will show the cost (in red colour)
only if the cost is high enough. That is, you will easily see the commands
which take (too) much time. 'help set' describes the usage.

A command which takes some time but is used only rarely is ok. But a command
that is probably used by many mortals very often should not take much time. If
you find such a command, please report it to wizards.

Tomba