MCPcopy Create free account
hub / github.com/sqlalchemy/sqlalchemy / discard

Method discard

test/perf/compiled_extensions.py:530–534  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

528
529 @test_case
530 def discard(self):
531 v = [str(i) for i in range(7500)]
532 ii = self.impl(v)
533 for x in v[:5000]:
534 ii.discard(x)
535
536 @test_case
537 def pop(self):

Callers 7

test_basic_sanityMethod · 0.95
test_all_presentMethod · 0.45
mainFunction · 0.45
test_discardMethod · 0.45
test_set_operationsMethod · 0.45
test_table_round_tripMethod · 0.45

Calls

no outgoing calls

Tested by 6

test_basic_sanityMethod · 0.76
test_all_presentMethod · 0.36
test_discardMethod · 0.36
test_set_operationsMethod · 0.36
test_table_round_tripMethod · 0.36