- 16 Feb, 2022 1 commit
-
-
Thomas Goirand authored
-
- 29 Dec, 2021 4 commits
-
-
Jayson Reis authored
-
Jayson Reis authored
-
Jayson Reis authored
-
Jayson Reis authored
-
- 28 Dec, 2021 6 commits
-
-
Jayson Reis authored
-
Alex Vandiver authored
-
Jayson Reis authored
-
Jayson Reis authored
-
Jayson Reis authored
-
Alex Vandiver authored
Bytes are immutable in python, which means that repeatedly appending to them is _quadratic_ in time. That is, we would like and expect that deleting 10k objects 10 times would take about as long as deleting 100k, but because we repeatedly concatenate to a bytes object in the loop, they are not: timeit.timeit(lambda: server.delete_multi(["foo"]*10000),number=10) # 0.5087270829999966 timeit.timeit(lambda: server.delete_multi(["foo"]*100000),number=1) # 10.650619775999985 Switch to using `bytearray` in all places which handle variable numbers of bytes. After this change: timeit.timeit(lambda: server.delete_multi(["foo"]*10000),number=10) # 0.1197161969999998 timeit.timeit(lambda: server.delete_multi(["foo"]*100000),number=1) # 0.1269589350000011
-
- 15 Oct, 2021 1 commit
-
-
bisho authored
The protocol implements `default` and `time` arguments, but those are not exposed in the client class implementation. This adds those fields.
-
- 10 Oct, 2021 1 commit
-
-
Jayson Reis authored
Bump pygments from 2.2.0 to 2.7.4 in /docs
-
- 09 Oct, 2021 3 commits
-
-
dependabot[bot] authored
Bumps [pygments](https://github.com/pygments/pygments) from 2.2.0 to 2.7.4. - [Release notes](https://github.com/pygments/pygments/releases) - [Changelog](https://github.com/pygments/pygments/blob/master/CHANGES) - [Commits](https://github.com/pygments/pygments/compare/2.2.0...2.7.4 ) Signed-off-by:
dependabot[bot] <support@github.com>
-
Jayson Reis authored
chore: move CI to GH
-
Jayson Reis authored
-
- 11 Oct, 2020 3 commits
-
-
Jayson Reis authored
-
Jayson Reis authored
-
Jayson Reis authored
* Implement Protocol.__str__ for real consistent hashing + test
-
- 07 Oct, 2020 2 commits
-
-
Miguel Carranza authored
-
Miguel Carranza authored
-
- 20 Sep, 2020 1 commit
-
-
Thomas Goirand authored
-
- 18 Aug, 2020 2 commits
-
-
Jayson Reis authored
-
Jayson Reis authored
-
- 10 Jun, 2020 3 commits
-
-
Jayson Reis authored
Add ability to return default value on get but breaking get's API
-
Jayson Reis authored
-
Jayson Reis authored
set_multi: Return a list of keys that failed to be set
-
- 02 Jun, 2020 1 commit
-
-
Anders Kaseorg authored
This is an API change, but is required for compatibility with Django. Signed-off-by:Anders Kaseorg <andersk@mit.edu>
-
- 26 May, 2020 1 commit
-
-
Jayson Reis authored
get_multi: Support an arbitrary collection of keys, not just a list
-
- 11 May, 2020 1 commit
-
-
Jayson Reis authored
Add missing files to docs.
-
- 09 May, 2020 4 commits
-
-
Anders Kaseorg authored
This is required for compatibility with Django. Also fix an IndexError if keys is empty. Signed-off-by:Anders Kaseorg <andersk@mit.edu>
-
Anders Kaseorg authored
By building the dictionary in two steps rather than one, we can avoid the complicated test for whether to decode the keys to strings. This also reduces the running time from quadratic to linear. Signed-off-by:Anders Kaseorg <andersk@mit.edu>
-
Anders Kaseorg authored
Signed-off-by:Anders Kaseorg <andersk@mit.edu>
-
Anders Kaseorg authored
On Python 2, '' is the same as b'' anyway. Signed-off-by:Anders Kaseorg <andersk@mit.edu>
-
- 10 Feb, 2020 1 commit
-
-
Moisés Guimarães de Medeiros authored
Adding the mixin and the distributed modules to the docs. Signed-off-by:Moisés Guimarães de Medeiros <moguimar@redhat.com>
-
- 29 Jan, 2020 5 commits
-
-
Jayson Reis authored
-
Jayson Reis authored
-
Jayson Reis authored
-
Jayson Reis authored
-
Jayson Reis authored
TLS tests requires a TLS enabled memcached server. In order to get one, you must compile memcached with `--enable-tls`
-