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
15
misc/pylib/robofab/objects/__init__.py
Executable file
15
misc/pylib/robofab/objects/__init__.py
Executable file
|
|
@ -0,0 +1,15 @@
|
|||
"""
|
||||
|
||||
Directory for modules supporting
|
||||
|
||||
Unified
|
||||
|
||||
Font
|
||||
|
||||
Objects
|
||||
|
||||
"""
|
||||
|
||||
|
||||
|
||||
|
||||
3426
misc/pylib/robofab/objects/objectsBase.pyx
Executable file
3426
misc/pylib/robofab/objects/objectsBase.pyx
Executable file
File diff suppressed because it is too large
Load diff
1253
misc/pylib/robofab/objects/objectsFF.py
Normal file
1253
misc/pylib/robofab/objects/objectsFF.py
Normal file
File diff suppressed because it is too large
Load diff
3112
misc/pylib/robofab/objects/objectsFL.py
Executable file
3112
misc/pylib/robofab/objects/objectsFL.py
Executable file
File diff suppressed because it is too large
Load diff
1233
misc/pylib/robofab/objects/objectsRF.pyx
Executable file
1233
misc/pylib/robofab/objects/objectsRF.pyx
Executable file
File diff suppressed because it is too large
Load diff
Reference in a new issue