-
- Downloads
_yaml.py: Reduce cost of node_final_assertions
By re-using the isinstance replacements from earlier commits and
using a tuple of the string constants for checking for composition
markers, we reduce the cost of node_final_assertions by two thirds
in basic testing.
Signed-off-by:
Daniel Silverstone <daniel.silverstone@codethink.co.uk>
Please register or sign in to comment