Skip to content
Commit 6e08d996 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 fa9c3c6c
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