Use yaml faster C implementation when available
|Reported by:||Beuc||Owned by:||nobody|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
pyyaml does not use the C implementation automatically.
Instead, it uses the Python implementation which is at least twice as slow.
This is one of the first thing that the documentation covers:
The attached patch uses the C implementation when available.
It would be nice to add a warning when the Python implementation is used, so that users are encouraged to install libyaml, but I'm not sure how to do it properly.
Change History (17)
comment:10 Changed 4 years ago by
|Patch needs improvement:||unset|
|Severity:||Normal → Release blocker|