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

Function stress_intersection

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

Source from the content-addressed store, hash-verified

100
101@actor
102def stress_intersection(sst):
103 copy_one = sst.copy()
104 stress_delitem(copy_one)
105 copy_two = sst.copy()
106 stress_delitem(copy_two)
107 sst.intersection_update(copy_one, copy_two)
108
109@actor
110def stress_symmetric_difference(sst):

Callers

nothing calls this directly

Calls 3

intersection_updateMethod · 0.80
stress_delitemFunction · 0.70
copyMethod · 0.45

Tested by

no test coverage detected