summaryrefslogtreecommitdiff
path: root/src/dict.c
Commit message (Expand)AuthorAgeFilesLines
* Key as dict entry - memory optimization for sets (#11595)Viktor Söderqvist2023-01-201-81/+269
* Remove the bucket-cb from dictScan and move dictEntry defrag to dictScanDefragViktor Söderqvist2023-01-111-28/+61
* activeDefragSdsDict use scan instead of iterator and drop dictSetNextViktor Söderqvist2023-01-111-5/+0
* Make dictEntry opaqueViktor Söderqvist2023-01-111-0/+108
* Make sure that fork child doesn't do incremental rehashing (#11692)Oran Agra2023-01-101-15/+18
* Add a special notification unlink available only for modules (#9406)Huang Zhw2022-11-301-0/+50
* Shrink dict without rehashing (#11540)Viktor Söderqvist2022-11-251-1/+8
* Added API to initialize dictionary iterators without memory allocation (#11245)tmoshaiov2022-09-071-9/+24
* Avoid using unsafe C functions (#10932)ranshid2022-07-181-1/+1
* Fix 2 comments in dict.c & redis-cli.c (#10860)hdyztmdqd2022-06-141-1/+1
* Fix some nonsense came from LGTM (#9962)Binbin2021-12-191-2/+1
* Fix possible int overflow when hashing an sds. (#9916)yoav-steinberg2021-12-131-2/+2
* Update documentation of _dictReset (#9908)丽媛自己动2021-12-071-2/+1
* Add --large-memory flag for REDIS_TEST to enable tests that consume more than...sundb2021-11-161-1/+3
* Add sanitizer support and clean up sanitizer findings (#9601)Ozan Tezcan2021-11-111-2/+2
* Slot-to-keys using dict entry metadata (#9356)Viktor Söderqvist2021-08-301-4/+8
* Fix: don't assume char is unsigned. (#9375)Yossi Gottlieb2021-08-151-3/+3
* Improvements to corrupt payload sanitization (#9321)Oran Agra2021-08-051-2/+7
* dict struct memory optimizations (#9228)yoav-steinberg2021-08-051-138/+143
* Use function instead of code in dict.c and delete dead code in dict.h (#8878)Binbin2021-05-091-5/+4
* Add run all test support with define REDIS_TEST (#8570)sundb2021-03-101-26/+38
* dict: pause rehash, minor readability refactor (#8515)Jim Brunner2021-02-201-13/+11
* Remove redundant pubsub list to store the patterns. (#8472)Harkrishn Patro2021-02-171-1/+1
* Fix random element selection for large hash tables. (#8133)Greg Femec2020-12-231-4/+11
* Fix some redundancy use of semicolon in do-while macros (#8221)sundb2020-12-211-1/+1
* More fixes to printf format specifier. (#7909)Hanif Ariffin2020-12-171-4/+4
* Sanitize dump payload: fail RESTORE if memory allocation failsOran Agra2020-12-061-3/+26
* Limit the main db and expires dictionaries to expand (#7954)Wang Yuan2020-12-061-2/+14
* docs: Fix some typos in comments and log messge (#7975)sundb2020-10-281-1/+1
* Squash merging 125 typo/grammar/comment/doc PRs (#7773)Oran Agra2020-09-101-3/+5
* use dictSlots for getting total slots number in dict (#7691)Wen Hui2020-08-211-3/+1
* Prevent dictRehashMilliseconds from rehashing while a safe iterator is presen...Jim Brunner2020-08-101-0/+2
* Use dictSize to get the size of dict in dict.cShooterIT2020-05-071-2/+2
* Drop not needed part from #7194.antirez2020-05-051-1/+1
* Fix compiler warnings on function rev(unsigned long)Muhammad Zahalqa2020-05-041-3/+3
* Merge pull request #7033 from OMG-By/unstableSalvatore Sanfilippo2020-03-291-1/+1
|\
| * fix: dict.c->dictResize()->minimal typeOMG-By2020-03-291-1/+1
* | RM_Scan disable dict rehashingOran Agra2020-02-061-0/+7
|/
* Set dictGetFairRandomKey() samples to 20 for final version.antirez2019-02-191-1/+1
* Limit sampling size in dictGetFairRandomKey().antirez2019-02-181-1/+1
* Better distribution for set get-random-element operations.antirez2019-02-181-0/+24
* dict.c: remove a few trailing spaces.antirez2018-07-171-2/+2
* Merge pull request #5128 from kingpeterpaule/remove-one-loop-in-freeMemoryIfN...Salvatore Sanfilippo2018-07-171-2/+4
|\
| * Update dict.cpaule2018-07-161-2/+4
| * remove one ineffective loop in dictGetSomeKeys.peterpaule2018-07-161-1/+1
* | Fix typoJack Drogon2018-07-031-1/+1
* | Merge pull request #4800 from soloestoy/dict-expandSalvatore Sanfilippo2018-06-081-3/+3
|\ \
| * | adjust position of _dictNextPower in dictExpandzhaozhao.zz2018-03-291-3/+3
| |/
* | Fix dictScan(): It can't scan all buckets when dict is shrinking.赵磊2018-05-081-11/+14
|/
* dict: fix the int problem for defragzhaozhao.zz2017-12-051-2/+2