[PATCH] highlight: do not use guess_lexer functions. they use too much CPU time for certain inputs

Matt Mackall mpm at selenic.com
Wed Apr 2 15:45:14 CDT 2008


On Wed, 2008-04-02 at 21:59 +0200, Ralf Schmitt wrote:
> # HG changeset patch
> # User ralf at brainbot.com
> # Date 1207165818 -7200
> # Node ID 50015149baa0dbf1b7066f0356b65f492ed78450
> # Parent  101526031d06d184559ae797687e50661b96156e
> highlight: do not use guess_lexer functions. they use too much CPU time for certain inputs.

Does certain input mean big inputs? Can we send some truncated source to
the guesser instead?

-- 
Mathematics is the supreme nostalgia of our time.



More information about the Mercurial mailing list