Commits

Author Commit Message Labels Comments Date
Lukas Diekmann
optimization fix
Branches
set-strategies
Lukas Diekmann
better approach for merging sets with lists
Branches
set-strategies
Lukas Diekmann
merged set- with liststrategies. when initializing a set with lists they can copy the storage and strategy from that list without wrapping the storages content
Branches
set-strategies
Lukas Diekmann
merge default
Branches
set-strategies
Carl Friedrich Bolz
merge default
Branches
set-strategies
Carl Friedrich Bolz
uh? this test is clearly dict order dependent
Branches
set-strategies
Carl Friedrich Bolz
merge
Branches
set-strategies
Carl Friedrich Bolz
merge default
Branches
set-strategies
Lukas Diekmann
what the hell did we do here!?
Branches
set-strategies
Lukas Diekmann
other_w can't be resized
Branches
set-strategies
Lukas Diekmann
now we dont reference i before assignment anymore
Branches
set-strategies
Lukas Diekmann
referenced i before assignment if others_w is None/empty
Branches
set-strategies
Lukas Diekmann
added tests for intersection_multiple order
Branches
set-strategies
Lukas Diekmann
optimized intersection_multiple some more
Branches
set-strategies
Lukas Diekmann
added fastpath for issubset and isdisjoint
Branches
set-strategies
Lukas Diekmann
delegated not_contain_equal_elements method to strategies
Branches
set-strategies
Lukas Diekmann
use string strategy when appending string to empty set
Branches
set-strategies
Lukas Diekmann
in intersection_multiple start with the smallest to avoid unnecessary comparisons
Branches
set-strategies
Lukas Diekmann
added fastpath to intersection and fixed not_contain_equal_elements
Branches
set-strategies
Lukas Diekmann
this is done with not_contain_equal_elements
Branches
set-strategies
Lukas Diekmann
renamed not_comparable to more convenient not_contain_equal_elements
Branches
set-strategies
Lukas Diekmann
added fastpath for not comparable sets (starting with difference)
Branches
set-strategies
Lukas Diekmann
added StringStrategy for sets
Branches
set-strategies
Lukas Diekmann
no need to check since w_other is always a set here
Branches
set-strategies
Lukas Diekmann
discard is deprecated. instead we use remove
Branches
set-strategies
Lukas Diekmann
more test coverage
Branches
set-strategies
Lukas Diekmann
need to use r_dict when storing wrapped objects
Branches
set-strategies
Lukas Diekmann
erasing bug in _intersection_wrapped. added test and fix
Branches
set-strategies
Lukas Diekmann
just check for unhashable objects here
Branches
set-strategies
Lukas Diekmann
also copy storage of frozenset to avoid changing frozenset in methods like intersection, difference, etc
Branches
set-strategies
  1. Prev
  2. Next