I did some profiling on spice netlist exporting and found that most of the time at least in my case is spent in checking for PortRefs equality. I noticed that there is a SetList class that is not actually a hash map yet, this would probably help speed this up.
Below is a table from running cProfile (snakeviz to be exact) and sorting by tottime
Hi,
I did some profiling on
spice
netlist exporting and found that most of the time at least in my case is spent in checking for PortRefs equality. I noticed that there is aSetList
class that is not actually a hash map yet, this would probably help speed this up.Would be great to speed or avoid these calls.