Re: [Mesa-dev] [PATCH 27/41] glapi: gl_XML.py: store compiled re as a module variable

2016-04-19 Thread Ian Romanick
This patch is Reviewed-by: Ian Romanick On 03/31/2016 05:04 PM, Dylan Baker wrote: > This avoids recompiles of the re each time the function is called. > > Signed-off-by: Dylan Baker > --- > src/mapi/glapi/gen/gl_XML.py | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > > diff --gi

[Mesa-dev] [PATCH 27/41] glapi: gl_XML.py: store compiled re as a module variable

2016-03-31 Thread Dylan Baker
This avoids recompiles of the re each time the function is called. Signed-off-by: Dylan Baker --- src/mapi/glapi/gen/gl_XML.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/mapi/glapi/gen/gl_XML.py b/src/mapi/glapi/gen/gl_XML.py index a860b0d..73baef6 100644 --- a/sr