mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
optimisation: stop detecting early when binariness discovered
This commit is contained in:
@@ -430,6 +430,7 @@ public class CharsetToolkit {
|
||||
}
|
||||
else if (b0 < BINARY_THRESHOLD) {
|
||||
hasBinary = true;
|
||||
break;
|
||||
}
|
||||
if (!validU8Char) break;
|
||||
i++;
|
||||
|
||||
Reference in New Issue
Block a user