]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-42435: Speed up comparison of bytes and bytearray object (GH--23461)
authorSerhiy Storchaka <storchaka@gmail.com>
Sun, 22 Nov 2020 20:00:53 +0000 (22:00 +0200)
committerGitHub <noreply@github.com>
Sun, 22 Nov 2020 20:00:53 +0000 (22:00 +0200)
commit313467efdc23a1ec8662b77d2001642be598f80a
tree1a50301bd304e7dd0113060a4b86a228ddebf943
parent5ef53a88f3130cfcf9a9be3abd2ff2f997902647
bpo-42435: Speed up comparison of bytes and bytearray object (GH--23461)

* Speed up comparison of bytes objects with non-bytes objects when
  option -b is specified.
* Speed up comparison of bytarray objects with non-buffer object.
Misc/NEWS.d/next/Core and Builtins/2020-11-22-14-34-55.bpo-42435.uwlB2W.rst [new file with mode: 0644]
Objects/bytearrayobject.c
Objects/bytesobject.c