[Home] [Groups] - Message: [Prev in Group] [Next in Group]

nu.kanga.list.mud-dev

8708: [MUD-Dev] Re: Missing the point: OpenMUD, Gamora, Casbah, etc.

[Full Header] [Plain Text]
From: Chris Gray <cg@ami-cg.GraySage.Edmonton.AB.CA>
Newsgroups: nu.kanga.list.mud-dev
Date: Tue, 27 Oct 1998 21:04:24 -0700
Organization: Kanga.Nu
[Bruce Mitchener, Jr.:]

 >for x in [1 .. 100000000000000] {
 >        /* don't run out of ticks */
 >        refresh();
 >        y += "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa";
 >}

Just me being contentious again, but why not just impose an arbitrary
time limit on *any* total execution event (not overideable by anyone
except the top administrator), and/or put a hard limit on the total
length of a string?

Why have 'refresh()' (which appears to renew the execution time limit)?
If the core system needs it, make it only usable inside code that has
core system authority.

--
Don't design inefficiency in - it'll happen in the implementation. - me

Chris Gray     cg@ami-cg.GraySage.Edmonton.AB.CA