Re: [ Off-Topic ] Signatures, Code... Stuff...

From: George (greerga@DRAGON.HAM.MUOHIO.EDU)
Date: 08/17/97


On Sun, 17 Aug 1997, David Klasinc wrote:

>Now I wonder... is it legal to have such signatures? *blink* *scratch* Ok,
>more than 5 lines is annoying, but this, this has to be against the law..

Illegal.

> I've noticed that there are some patches for OasisOLC and MObProgs... Is
>there anything particular I should be aware of? I was working on something
>similar, but for saving only the 'infile' mobprogs, which are in separate
>files (others are annoying to edit anyway).
> I would like to know if people have used this and how usefull it is :)

I don't know how MobProg's work since I don't have any interest in them.
You can mail Desmond Daignault is you need any details on what the MobProg
patch does.

> Now something about the coding... What will run faster a bunch of if's or
>switch? :)

try two files:
int main() {
  if ...
  else if ...
  else if ...
  etc
}

int main() {
  switch ...
  case ...
  case ...
  case ..
  case ..
}

Run it through gcc -S, and see what you get for assembler.

--
greerga@muohio.edu me@null.net | Genius may have its limitations, but stupidity
http://www.muohio.edu/~greerga | is not thus handicapped. -- Elbert Hubbard


     +------------------------------------------------------------+
     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     | http://democracy.queensu.ca/~fletcher/Circle/list-faq.html |
     +------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 12/08/00 PST