You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Parsing the file located here with yaml.parse(str, {merge:true}) takes a very long time. Could there be something non-linear in the length of the file?
Interesting. Thank you for sharing the file that's demonstrating this! Looks like the slowdown is during the document -> JS conversion. Probably due to the alias resolution?
I'll see when I can find time to dig into this properly; might take a while.
Describe the bug
Parsing the file located here with
yaml.parse(str, {merge:true})
takes a very long time. Could there be something non-linear in the length of the file?Currently it's under 500k:
To Reproduce
Steps to reproduce the behaviour.
Output:
Expected behaviour
A clear and concise description of what you expected to happen.
By comparison, doing the same thing with
js-yaml
takes only:Output:
Versions (please complete the following information):
yaml
: 2.4.1Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: