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

Here you can propose new features, make suggestions etc.

Moderators: white, Hacker, petermad, Stefan2

Post Reply
User avatar
Samuel
Power Member
Power Member
Posts: 1930
Joined: 2003-08-29, 15:44 UTC
Location: Germany, Brandenburg an der Havel
Contact:

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

Post 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.
User avatar
Samuel
Power Member
Power Member
Posts: 1930
Joined: 2003-08-29, 15:44 UTC
Location: Germany, Brandenburg an der Havel
Contact:

Post by *Samuel »

Perhaps it should be named:

Code: Select all

NewFilterString(WCHAR* Filter)
So I could do Filter preprocessing once.
User avatar
m^2
Power Member
Power Member
Posts: 1413
Joined: 2006-07-12, 10:02 UTC
Location: Poland
Contact:

Post by *m^2 »

Well, you can remember the last filter and check if it changed before calling _wstat.
User avatar
Samuel
Power Member
Power Member
Posts: 1930
Joined: 2003-08-29, 15:44 UTC
Location: Germany, Brandenburg an der Havel
Contact:

Post 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.
Post Reply