> - BDB.pm: no wonder no tokens were ever found, sought in 'seen'
> instead of in a 'tokens' database;

Um, thanks Mark, though I have to admit that that error makes me feel
pretty stupid.  No, make that really stupid.

> - BDB.pm: add new subroutine _mget, and move a loop through
> search tokens from tok_get_all into _mget, avoiding one level
> of procedure call for few-hundred tokens

Though I obviously need to go back and check with code that's retrieving
tokens properly (I'm going to be kicking myself that one for a while), I
wrote tok_get_all the way I did because it lowered its impact in
profiling enormously---I was finding that tok_get was basically unused,
so writing tok_get in terms of tok_get_all was a huge win.

Now much of this was when I was also using transactions, so that
profile might have changed.

I'll grab a checkout of your changes, and see if I can't run it through
Devel::NYTProf and see how things pan out.

Mike.

Reply via email to