On Wed, Mar 10, 2004 at 01:26:05PM -0500, Theo Van Dinter wrote: > > 1.80 0.310 0.458 47786 0.0000 0.0000 ::BayesStoreDBM::is_magic_token > > 1.28 0.220 0.196 47786 0.0000 0.0000 ::BayesStoreDBM::get_magic_re > > This is very likely due to backward compatibility (ie: we read v0 and v1 DBs).
Well... Doing a little digging ...
is_magic_token() was added in when the BayesStoreSQL stuff occured.
it's what calls get_magic_re() all that much. Pretty much all of the
rest of BayesStore does the proper hard code if necessary or cache
get_magic_re() before a loop ...
The only place it's used is in tokenize_line():
next if ( $self->{store}->is_magic_token($token) ); # skip false magic
tokens
So this is fixable...
I'm seeing if I can't get this together right now.
--
Randomly Generated Tagline:
ines
pgpiHT3ctV56n.pgp
Description: PGP signature
