We now just return an array of triples to represent classified results. The triple contains: 1) the start of the classification. 2) the length of the classification. 3) the type of the clasification. We also encode this into a comma separated string when passing over to the managed side (as opposed to an JSON array). That way we don't pay such a high JSON parsing cost. Instead, we can just do a string.split(",") on the encoded triples and process each element ourselves. |
||
---|---|---|
.. | ||
formatting | ||
colorization.ts | ||
documentRegistry.ts | ||
patternMatcher.ts | ||
preProcessFile.ts |