snapcraft does not use the C yaml parser
Bug #1787373 reported by
John Lenton
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Snapcraft | Status tracked in Trunk | |||||
Legacy |
Fix Committed
|
Medium
|
Kyle Fazzari | |||
Trunk |
Fix Released
|
Medium
|
Kyle Fazzari |
Bug Description
PyYAML includes a C implementation of the yaml parser. However, yaml.safe_load does not use it: for that you need to use yaml.load(..., Loader=
Granted big yamls should be avoided, but the performance difference is big enough to notice even in not-so-huge ones.
Changed in snapcraft: | |
milestone: | 2.43.1 → 2.43.2 |
Changed in snapcraft: | |
status: | In Progress → Fix Committed |
To post a comment you must log in.
https:/ /github. com/snapcore/ snapcraft/ pull/2218