Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2014-02-06 | SDS Header pointer math rewritten in a more elegant form. | antirez | 1 | -2/+2 | |
As suggested by unwind in the Hacker News site the calculation of "sh" could be improved. In his own words: "Since the entire idea is that the pointer on the left-hand side is to the type whose size should be subtracted, I think it's better not to repeat the type but to "lock it" to the pointer instead. This also (of course) means we can drop the parenthesis with sizeof, since those are only needed when its argument is a type name." | |||||
2014-02-06 | Join functions improved. | antirez | 1 | -1/+2 | |
The original implementation of sdsjoin did not allowed a binary separator nor was able to handle sds strings contaning bianry data. sdsjoin() was modified to get a spearator length. sdsjoinsds() was added to join arrays of SDS strings. | |||||
2014-02-06 | sdstrim() return type changed to void. | antirez | 1 | -1/+1 | |
2014-02-02 | Copyright year updated to 2014. | antirez | 1 | -2/+2 | |
2014-02-02 | Forked from sds.c in Redis to create a standalone project. | antirez | 1 | -0/+100 | |