Pieter Noordhuis
df26a0ae0b
Encode sorted set after loading from dump
2011-03-10 17:50:13 +01:00
Pieter Noordhuis
255eebe221
Convert encoding of result when in limits
2011-03-10 17:02:05 +01:00
Pieter Noordhuis
dba3a153a7
Remove comment
2011-03-10 16:53:20 +01:00
antirez
7226cbd1d9
Merge branch 'unstable'
2011-03-10 16:47:09 +01:00
antirez
0aed6a952a
fixed diskstore race condition
2011-03-10 16:46:58 +01:00
antirez
7493d2a032
fixed diskstore race condition
2011-03-10 16:39:19 +01:00
Pieter Noordhuis
56ce42faf1
Generic iterator code for usage in ZUNIONSTORE/ZINTERSTORE
2011-03-10 16:34:52 +01:00
Pieter Noordhuis
bbfe232f60
Make zzlLength take a ziplist argument
2011-03-10 16:17:14 +01:00
Pieter Noordhuis
d4e07f1714
Add new string to long long function
2011-03-10 16:16:27 +01:00
antirez
dc75b1edfb
encoding agnostic intsets
2011-03-09 19:14:04 +01:00
antirez
f220437450
ziplist are now endianess agnostic
2011-03-09 18:49:59 +01:00
antirez
336c82d583
zipmaps are now endianess agnostic, needed for on disk serialization of zipmaps without convertions layers
2011-03-09 17:31:02 +01:00
antirez
b5325132f1
memrev variants only doing the work if the target host is big endian
2011-03-09 17:28:16 +01:00
antirez
bcde63785d
TODO updated
2011-03-09 16:36:02 +01:00
antirez
48e4621590
Ehm... sorry if we don't support PDP endianess
2011-03-09 16:33:09 +01:00
antirez
e12cb14308
endianess conversion API, to be applied to specially encoded data types for arch agnostic encoding.
2011-03-09 16:24:18 +01:00
Pieter Noordhuis
cc4c964b33
Fix used function in ZCARD
2011-03-09 16:13:39 +01:00
Pieter Noordhuis
a669d5e999
Convert encoding when thresholds overflow
2011-03-09 16:13:06 +01:00
antirez
b1a8e3e89e
byte ordering detection in config.h
2011-03-09 15:44:21 +01:00
Pieter Noordhuis
3ea204e103
Configurable thresholds for encoded sorted sets
2011-03-09 14:01:57 +01:00
Pieter Noordhuis
e12b27acf7
Persistence code for encoded sorted sets
2011-03-09 13:16:38 +01:00
Pieter Noordhuis
d1c920c538
Support dual encoding for more commands
2011-03-09 12:37:59 +01:00
Pieter Noordhuis
aff255c81d
Support dual encoding for ZRANGEBYSCORE et al
2011-03-09 11:29:21 +01:00
Pieter Noordhuis
4c5f0966b2
Helpers to move around in encoded sorted set
2011-03-09 11:06:31 +01:00
Pieter Noordhuis
63b7b7fb34
Support dual encoding for ZREMRANGEBYRANK
2011-03-09 10:30:55 +01:00
Pieter Noordhuis
5d1b4fb698
Support dual encoding for ZRANGE
2011-03-09 00:12:29 +01:00
Pieter Noordhuis
0f23eb3b10
Properly free encoded sorted set
2011-03-08 23:56:59 +01:00
Pieter Noordhuis
4a14dbbac2
Look up and remove elements by range
2011-03-08 23:56:33 +01:00
Pieter Noordhuis
9f9b60f974
Typo
2011-03-08 22:14:46 +01:00
Pieter Noordhuis
8218db3dae
Little less obfuscation
2011-03-08 21:36:46 +01:00
Pieter Noordhuis
0b10e10444
Support dual encoding in ZREM
2011-03-08 17:11:15 +01:00
antirez
e270a7fa58
removed useless call
2011-03-08 16:52:39 +01:00
Pieter Noordhuis
3ca7532a2d
Don't encode element argument when dealing with ziplist
2011-03-08 16:51:41 +01:00
Pieter Noordhuis
21c5b508a4
Initial work for ziplist backed sorted sets
2011-03-08 16:44:22 +01:00
Pieter Noordhuis
9e7cee0ed0
Add function to create ziplist-backed sorted set
2011-03-08 16:08:52 +01:00
Pieter Noordhuis
672b0a1b25
Fast conversion of double when representable as long long
2011-03-08 16:08:11 +01:00
antirez
3a21cb99e5
same final call of two if branches moved outside
2011-03-08 15:55:34 +01:00
antirez
e09b51869b
useless function removed
2011-03-08 15:10:20 +01:00
antirez
c5b6f46132
comment typo fixed
2011-03-08 15:03:51 +01:00
Pieter Noordhuis
45290ad9bb
Rename zset range functions
2011-03-08 10:57:53 +01:00
Pieter Noordhuis
8e1b327706
Test for ranges where min > max
2011-03-08 10:57:39 +01:00
Pieter Noordhuis
df278b8b0b
Compiler should decide on inlining
2011-03-08 10:57:33 +01:00
Pieter Noordhuis
22b9bf1594
Move logic concerned with zset ranges
...
This also optimizes ZREVRANGEBYSCORE for pathological cases where a
sorted set contains many elements with the same score. Previously,
it would traverse the list from back to front in such a case.
2011-03-08 10:57:24 +01:00
Pieter Noordhuis
a300477368
Undo rename of function names where something went wrong
2011-03-08 10:57:06 +01:00
antirez
c2f816b423
Merge remote branch 'pietern/unstable-sigs' into unstable
2011-03-07 12:22:00 +01:00
Pieter Noordhuis
3f4eef215b
Show database number in cli prompt when non-zero
2011-03-06 21:14:40 +01:00
Pieter Noordhuis
96e34b3ce1
Store SELECTed database for reconnect (issue #468 )
2011-03-06 20:46:49 +01:00
Pieter Noordhuis
33753a732a
Minor memory leak in redis-cli (issue #464 )
2011-03-06 20:13:01 +01:00
Pieter Noordhuis
ca36b4ab31
Only save history when stdin is a tty (issue #465 )
2011-03-06 20:02:33 +01:00
Pieter Noordhuis
633a941028
Save RDB on SIGTERM (see issue #471 )
2011-03-06 17:49:40 +01:00