Page 1 of 1

[REQ] tcmatch.dll - inform about start of a new QS-pass

Posted: 2009-07-31, 19:31 UTC
by Samuel
Christian could you please add a possibility to inform the dll that a new QS-matching series/pass starts? (always when the user adds or removes a new filter char)

I just found that my QSE has low performance (could be improved by 70%) because I called "_wstat" on every call of "MatchFileW". So I could check only for every new series/pass.

Could be named:

Code: Select all

MatchPassStart
MatchCycleBegin
Or something like this.

Edit:
Could you also remove the ".." entry to be send to QS?
I have to check for it to ignore it because otherwise the "file" produces errors when using wdx etc.

Posted: 2009-08-01, 07:52 UTC
by Samuel
Perhaps it should be named:

Code: Select all

NewFilterString(WCHAR* Filter)
So I could do Filter preprocessing once.

Posted: 2009-08-01, 08:38 UTC
by m^2
Well, you can remember the last filter and check if it changed before calling _wstat.

Posted: 2009-08-01, 08:44 UTC
by Samuel
Yes as a workaround, but I prefer a buildin solution, as comparing with the last filter alone sometimes doesnt work:
A user types either a letter or pastes an expression. Then no new setting is loaded.