lojban MOO Performance
mooix is not terribly high-performance, and the machine it's
currently running on is fully encrypted, which Doesn't Help (tm).
Here are some notes and ideas about how to make things better:
Faster hybrid daddy: have markers like Eimi's untagged special in
the main source tree; users can insert them themselves if they want,
but they don't have too, but not having to go all they way up the
tree saves time.
session, $avatar, $direct_object and $this flags (and any
similar things that may exist) are not shortcutted in msg.c; that
is, propigate is run all the way through, even though (presumably)
finding the targets for a message with those flags requires no
propigation. I suspect this to be fairly serious.
Performance suggestion: Per-user flag to select from the following:
1. Daddy Tag
2. Own language always.
3. Daddy Tag with own language.
- 2 being much, much cheaper.
There must be *something* that can be done to make nearbyobjs
faster. Caching it and watching for changes is one possibility;
test mod time on the location's contents? Enh.
Rather larger scale idea:
We could have a layer in the language bindings that caches results
for 1 second (unless told not to).
Dunno if this would be faster than a RAM disk on a real box.
Might be better done on the parser; probably the most savings there.
All these are from "look" in Robin's MUD Workshop by m-test (i.e. an English
Before the conversion from XML to .lang:
After the conversion from XML to lang: