More fixes to optiomal node search.
Support for replying to UTF-8 chat messages. Minor refactoring.
This commit is contained in:
parent
1d3910d629
commit
a186f33ffb
18 changed files with 488 additions and 189 deletions
|
|
@ -74,7 +74,7 @@ public:
|
|||
int32 length = MinMatch;
|
||||
|
||||
while (length < maxMatch && in[lookup + length] == in[cur + length]) {
|
||||
length++;
|
||||
++length;
|
||||
}
|
||||
|
||||
if (length > bestLength) {
|
||||
|
|
@ -111,7 +111,7 @@ public:
|
|||
int32 length = MinMatch;
|
||||
|
||||
while (length < target && in[lookup + length] == in[next + length]) {
|
||||
length++;
|
||||
++length;
|
||||
}
|
||||
|
||||
if (length == target) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue