Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
python
/
cpython3
/
0bc3d9857f571021f7c2ccebe1967f4f87cb3e21
/
Objects
/
setobject.c
3fd500b
The copy module now handles sets directly. The __copy__ methods are no
by Raymond Hettinger
· 20 years ago
a3b11e7
* Simplify and speedup logic for tp_print.
by Raymond Hettinger
· 21 years ago
81ad32e
Speedup set.update by using the override mode for PyDict_Merge().
by Raymond Hettinger
· 21 years ago
fb4e33a
Improve algorithm for set.difference when the input is not a set.
by Raymond Hettinger
· 21 years ago
438e02d
* Refactor set.__contains__()
by Raymond Hettinger
· 21 years ago
0deab62
Refactor set.discard() and set.remove().
by Raymond Hettinger
· 21 years ago
dc5ae11
Use dictionary specific looping idiom where possible.
by Raymond Hettinger
· 21 years ago
8f5cdaa
* Added a new method flag, METH_COEXIST.
by Raymond Hettinger
· 21 years ago
bc0f2ab
Expose dict_contains() and PyDict_Contains() with is about 10% faster
by Raymond Hettinger
· 21 years ago
a38123e
Factor out more duplicate code.
by Raymond Hettinger
· 21 years ago
5f4e45d
Stop GCC warning about int literal that's so long that it becomes an
by Guido van Rossum
· 21 years ago
f5f41bf
* Checkin remaining documentation
by Raymond Hettinger
· 21 years ago
49ba4c3
* Simplify hash function and add test to show effectiveness of the hash
by Raymond Hettinger
· 21 years ago
bfd334a
Extend temporary hashability to remove() and discard().
by Raymond Hettinger
· 21 years ago
19c2d77
Allow temporary hashability for the __contains__ test.
by Raymond Hettinger
· 21 years ago
3fbec70
issubset() and issuperset() to work with general iterables
by Raymond Hettinger
· 21 years ago
82d73dd
Three minor performance improvements:
by Raymond Hettinger
· 21 years ago
b61982b
Implement straightforward suggestions from gcc warnings (remove unused
by Guido van Rossum
· 21 years ago
1b92fd5
Use PySequence_Contains() instead of direct access macro.
by Raymond Hettinger
· 21 years ago
50a4bb3
Various fixups (most suggested by Armin Rigo).
by Raymond Hettinger
· 21 years ago
e2c277a
Fix output spacing typo
by Raymond Hettinger
· 21 years ago
a690a99
* Migrate set() and frozenset() from the sandbox.
by Raymond Hettinger
· 21 years ago