Speeds up font compilation by around 200%
Cython is used to compile some hot paths into native Python extensions. These hot paths were identified through running ufocompile with the hotshot profiler and then converting file by file to Cython, starting with the "hottest" paths and continuing until returns were deminishing. This means that only a few Python files were converted to Cython. Closes #23 Closes #20 (really this time)
This commit is contained in:
parent
31ae014e0c
commit
8234b62ab7
108 changed files with 26933 additions and 110 deletions
11
misc/pylib/booleanOperations/__init__.py
Normal file
11
misc/pylib/booleanOperations/__init__.py
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
from __future__ import print_function, division, absolute_import
|
||||
from .booleanOperationManager import BooleanOperationManager
|
||||
from .exceptions import BooleanOperationsError
|
||||
from .version import __version__
|
||||
|
||||
# export BooleanOperationManager static methods
|
||||
union = BooleanOperationManager.union
|
||||
difference = BooleanOperationManager.difference
|
||||
intersection = BooleanOperationManager.intersection
|
||||
xor = BooleanOperationManager.xor
|
||||
getIntersections = BooleanOperationManager.getIntersections
|
||||
Reference in a new issue