Redis for humans. 🌎🌍🌏
HyperLogLog.contains_many()
Previously, we were generating a new temporary HyperLogLog key for every element that we wanted to do a membership test for. Now, we're reusing the same temporary key since we copy/delete the HyperLogLog before/after each membership test anyway. This speeds up membership testing by 2x.
Full Changelog: https://github.com/brainix/pottery/compare/v2.2.0...v2.2.1
HyperLogLog.contains_many()
.contains_many()
is like .__contains__()
, but it's better for fast membership testing for multiple elements.
Full Changelog: https://github.com/brainix/pottery/compare/v2.1.0...v2.2.0
RedisSet.contains_many()
to more efficiently membership test multiple elementsBloomFilter.contains_many()
to more efficiently membership test multiple elementsHyperLogLog.__contains__()
for membership testingRedisDict
s, RedisSet
s, RedisList
s, and RedisDeque
sFull Changelog: https://github.com/brainix/pottery/compare/v2.0.1...v2.1.0
RedisList
sFull Changelog: https://github.com/brainix/pottery/compare/v2.0.0...v2.0.1
RedisSet.issubset()
and .issuperset()
RedisSet.union()
and .difference()
Full Changelog: https://github.com/brainix/pottery/compare/v1.4.7...v2.0.0
RedisList.insert()
and RedisDeque.insert()
Full Changelog: https://github.com/brainix/pottery/compare/v1.4.6...v1.4.7
Redlock.locked()
and the NextId.__current_id
getter slightly more efficient for several mastersFull Changelog: https://github.com/brainix/pottery/compare/v1.4.5...v1.4.6
RedisList.__eq__()
logicFull Changelog: https://github.com/brainix/pottery/compare/v1.4.4...v1.4.5
RedisSet
methodsRedisSet.issubset()
RedisSet.issuperset()
RedisSet.intersection()
Also support Python 3.10.
Full Changelog: https://github.com/brainix/pottery/compare/v1.4.3...v1.4.4
Redis.lolwut()
monkey patchI got Redis.lolwut()
merged upstream! 🎉
https://github.com/andymccurdy/redis-py/pull/1568
Full Changelog: https://github.com/brainix/pottery/compare/v1.4.2...v1.4.3