MCPcopy Create free account
hub / github.com/grantjenks/python-sortedcontainers / stress_difference

Function stress_difference

tests/test_stress_sortedset.py:80–85  ·  view source on GitHub ↗
(sst)

Source from the content-addressed store, hash-verified

78
79@actor
80def stress_difference(sst):
81 copy_one = sst.copy()
82 stress_delitem(copy_one)
83 copy_two = sst.copy()
84 stress_delitem(copy_two)
85 sst.difference_update(copy_one, copy_two)
86
87@actor
88def stress_discard(sst):

Callers

nothing calls this directly

Calls 3

difference_updateMethod · 0.80
stress_delitemFunction · 0.70
copyMethod · 0.45

Tested by

no test coverage detected