Skip to content
Commit c5e9c904 authored by Daniel Silverstone's avatar Daniel Silverstone
Browse files

_yaml.py: Remove use of isinstance() in `{node,list}_{chain_,}copy`



A non-trivial proportion of time pre-scheduler in `bst build` is spent
copying (or chain-copying) nodes.  Approximately a quarter of the time
spent in that effort is in `isinstance()`.  This removes that CPU load.

Signed-off-by: default avatarDaniel Silverstone <daniel.silverstone@codethink.co.uk>
parent 6a8abb31
Loading
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment