Grisha Trubetskoy
5a86ab4799
Add a 24bit integer to ziplists to save one byte for ints that can
...
fit in 24 bits (thanks to antirez for catching and solving the two's compliment
bug).
Increment REDIS_RDB_VERSION to 6
2012-04-24 12:02:19 +02:00
antirez
bd376d13f8
Big endian fix. The bug was introduced because of a typo.
2012-03-23 12:42:20 +01:00
antirez
8562798308
Merge conflicts resolved.
2012-03-09 22:07:45 +01:00
antirez
7a3e372025
endian.c/h -> endianconv.c/h to avoid issues with broken libraries search paths.
2012-02-14 16:11:46 +01:00
antirez
66d1b021ec
ziplist.c endianess fixes, chapter 5.
2012-02-09 17:09:01 +01:00
antirez
cab1105c6e
ziplist.c endianess fixes, chapter 4.
2012-02-09 16:36:25 +01:00
antirez
3fa19b7dfc
ziplist.c endianess fixes, chapter 3.
2012-02-09 16:28:35 +01:00
antirez
8e0ef249a2
more ziplist.c endianess fixes
2012-02-08 23:20:39 +01:00
antirez
5653847714
ziplist.c fixes for bigendian
2012-02-08 22:59:35 +01:00
Pieter Noordhuis
fe45840201
Implements ziplistFind
...
To improve the performance of the ziplist implementation, some
functions have been converted to macros to avoid unnecessary stack
movement and duplicate variable assignments.
2012-01-03 16:13:42 -08:00
antirez
f013f40003
Fixed a few warnings compiling on Linux.
2011-10-23 10:57:01 +02:00
Pieter Noordhuis
edf23aff0e
Use string2ll in ziplist code (faster)
2011-05-05 16:26:51 +02:00
Pieter Noordhuis
b7d3bf5157
Fix ziplist regression and update stresser
2011-05-05 15:16:51 +02:00
Pieter Noordhuis
7d8c555e92
Merge branch 'unstable' into unstable-zset
...
Conflicts:
src/object.c
2011-04-06 16:15:01 +02:00
Pieter Noordhuis
69298a05eb
Offset should be size_t
2011-03-14 10:53:53 +01:00
antirez
f220437450
ziplist are now endianess agnostic
2011-03-09 18:49:59 +01:00
antirez
d4fb9f4144
encoded types API to get blob length
2011-02-28 14:48:49 +01:00
Pieter Noordhuis
8ce39260a4
Fix compiler warnings on Solaris
2010-12-23 11:26:11 +00:00
antirez
d51ebef509
LRANGE converted into a COW friendly command. Some refactoring, comment, and new addReply*() family function added in the process.
2010-12-07 16:33:13 +01:00
antirez
10c12171cc
removed a number of stupid compilation warnings on Linux
2010-11-02 11:15:09 +01:00
Pieter Noordhuis
306c6a02e3
Replace ziplist stresser and fix regression
2010-10-14 21:11:42 +02:00
Pieter Noordhuis
b0d605c1d6
Add regression test and fix for >255 byte string entries
2010-09-23 22:04:19 +02:00
Pieter Noordhuis
84403fe7c1
Allow a random seed argument for the ziplist test binary
2010-09-07 00:08:42 +02:00
Pieter Noordhuis
169d2ef1e0
Fix updating the prevlen field of consecutive entries
...
In the condition where the prevlen field of the next entry on insert
and delete operations needs more bytes to be properly encoded, the next
entry also needs to be updated with a new prevlen. This patch makes sure
that this effect cascades throughout the ziplist.
2010-09-07 00:04:57 +02:00
Pieter Noordhuis
c470538142
Make ziplist schema more efficient for strings with length > 15
2010-08-13 19:29:22 +02:00
antirez
6171250871
fixed a ziplist bug about encoding of integer values overflowing 64 bit
2010-07-27 15:26:08 +02:00
antirez
3688d7f308
Compilation fixed on Linux after the source code split
2010-07-01 21:13:38 +02:00
antirez
e2641e09cc
redis.c split into many different C files.
...
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
2010-07-01 14:38:51 +02:00