|
|
|
|
|
by dmitry_dygalo
765 days ago
|
|
Indeed, I agree with your points. This idea was added after I wrote the post and wasn't taken from my own optimization efforts in `jsonschema`. Originally, in `jsonschema` the output type is actually a badly composed iterator and I intended to simplify it to just a `Result<(), ValidationError>` for the article, but with this output, there are actually way better optimizations than I originally implemented. If I'd discovered this idea earlier, I'd probably spend more time investigating it. |
|