[998] in Coldmud discussion meeting
[COLD] match_regexp() optimization
daemon@ATHENA.MIT.EDU (Wed May 15 17:30:41 1996
)
Date: Wed, 15 May 1996 15:06:11 -0600 (MDT)
From: Brandon Gillespie <brandon@tombstone.sunrem.com>
To: coldstuff@cold.org
I am also considering making the return value for 'match_regexp()' simply
be '1' or '0', where it has an extra argument that can be specified,
telling it to give you the index. With the addition of 'regexp()' there
is not really much of a use for having the indexes--and changing the
default behavior of match_regexp() would optimize it a bit for simple
regexp matching where you do not care about HOW the regexp matched (you
just care that it did).
-Brandon