|
From: Ben v. K. <s40...@st...> - 2003-10-19 13:52:27
|
Hi all, Thanks for all that Rob, great work! I've added some code that should fix the voidlist.h and voidmap.h deallocation problems. I made them so you could choose how the objects should be deleted,freed or array deleted. There's a few other things i changed while looking through the code. Nothing major. The dll wrapper has been slightly updated to include a reference number, so you can work on more than 1 directory at once. Haven't tried it with PHP yet though - pedja maybe you could let me know how it goes? Also changed the analyzer type in the wrapper. Where it uses the simpleanalyzer it's not actually being used - the queryparser was using the wrong analyzer though. There was also a stupid bug in the prepend function of stringbuffer - oops :) Which now fixes things like emails in queries. The analyser runs slightly faster now, 20 ish % maybe. The token was stringDuping the token type, which actually comes straight from the tokenImage array. So a pointer is sufficient. The analyser speed could be improved even more if the token class could take a pointer to the text buffer instead of having to copy the string... but then there may be other problems... hmm something to think about anyway. I won't make a release just yet. I'll just put it on CVS, then in a few days i'll do a proper release. cheers everyone. and thanks for the great work! ben |