I ran into a performance problem because I was deserializing individual leaf nodes of a YAML file using YamlNode.ToObject, and so I was creating a new SerializerSettings every time. As a result, PrepareScalarRules in CoreSchema ran over and over and was a big performance hit. This solves that problem.
I ran into a performance problem because I was deserializing individual leaf nodes of a YAML file using
YamlNode.ToObject
, and so I was creating a newSerializerSettings
every time. As a result,PrepareScalarRules
inCoreSchema
ran over and over and was a big performance hit. This solves that problem.