summaryrefslogtreecommitdiff
path: root/src/dict.h
Commit message (Collapse)AuthorAgeFilesLines
* Fix for hash table collision attack. We simply randomize hash table ↵antirez2012-01-211-0/+2
| | | | initialization value at startup time.
* dict set/get macros for integers fixed.antirez2011-11-091-4/+4
|
* dict.c: added macros to get signed/unsigned integer values from hashantirez2011-11-081-2/+4
| | | | entry. Field name of hash entry union modified for clarity.
* dict.c: added macros in dict.h to set signed and unsigned 64 bit values ↵antirez2011-11-081-0/+6
| | | | directly inside the hash entry without using additional memory.
* dict.c API names modified to be more coincise and consistent.antirez2011-11-081-8/+7
|
* dict.c: added two lower level methods for directly manipulating hash ↵antirez2011-11-081-0/+2
| | | | entries. This is useful in order to set 64 bit integers as values directly inside the hash entry (in order to save memory), without casting, and even in 32 bit builds.
* added an union in the dict.h structure to store 64 bit integers directly ↵antirez2011-11-021-5/+11
| | | | into hash table entries.
* Introduced a safe iterator interface that can be used to iterate while ↵antirez2011-05-101-2/+6
| | | | accessing the dictionary at the same time. Now the default interface is consireded unsafe and should be used only with dictNext()
* command lookup process turned into a much more flexible and probably faster ↵antirez2010-11-031-0/+1
| | | | hash table
* redis.c split into many different C files.antirez2010-07-011-0/+151
networking related stuff moved into networking.c moved more code more work on layout of source code SDS instantaneuos memory saving. By Pieter and Salvatore at VMware ;) cleanly compiling again after the first split, now splitting it in more C files moving more things around... work in progress split replication code splitting more Sets split Hash split replication split even more splitting more splitting minor change