diff options
author | Benjamin Schubert <ben.c.schubert@gmail.com> | 2019-07-15 12:16:54 +0100 |
---|---|---|
committer | Benjamin Schubert <ben.c.schubert@gmail.com> | 2019-07-15 12:16:54 +0100 |
commit | 7151171d21d1b9f7aa0b78593e4234ea76723034 (patch) | |
tree | 07fb14476dd924e7f1a712e4a810dcf82a04f9cf /setup.py | |
parent | c5652e302757596d2779029f6ec5da820be4d11c (diff) | |
download | buildstream-bschubert/optimize-splits.tar.gz |
element: Move __expand_splits to cythonbschubert/optimize-splits
__expand_splits is a somewhat intensive method, that represents >1%
of the runtime.
Moving it to cython makes it 5 times faster.
This also requires exporting some 'Variables' symbols as public.
Diffstat (limited to 'setup.py')
-rwxr-xr-x | setup.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -403,7 +403,7 @@ def register_cython_module(module_name, dependencies=None): BUILD_EXTENSIONS = [] register_cython_module("buildstream.node") -register_cython_module("buildstream._element") +register_cython_module("buildstream._element", dependencies=["buildstream._variables"]) register_cython_module("buildstream._loader._loader") register_cython_module("buildstream._loader.types", dependencies=["buildstream.node"]) register_cython_module("buildstream._yaml", dependencies=["buildstream.node"]) |