From 860beb99a62ff6e677a0974c91578ac80dfd16d9 Mon Sep 17 00:00:00 2001 From: Dylan Baker Date: Tue, 21 Feb 2017 11:21:24 -0800 Subject: anv: use cElementTree in anv_entrypoints_gen.py It's written in C rather than pure python and is strictly faster, the only reason not to use it that it's classes cannot be subclassed. Signed-off-by: Dylan Baker --- src/intel/vulkan/anv_entrypoints_gen.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/intel/vulkan/anv_entrypoints_gen.py') diff --git a/src/intel/vulkan/anv_entrypoints_gen.py b/src/intel/vulkan/anv_entrypoints_gen.py index 2c0c968222e..a08cfced6ae 100644 --- a/src/intel/vulkan/anv_entrypoints_gen.py +++ b/src/intel/vulkan/anv_entrypoints_gen.py @@ -26,7 +26,7 @@ import argparse import functools import os import textwrap -import xml.etree.ElementTree as et +import xml.etree.cElementTree as et from mako.template import Template -- cgit v1.2.3