aboutsummaryrefslogtreecommitdiffstats
path: root/src/zsets.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Error-check implies unlikely branchingMattias Andrée2016-04-271-2/+2
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Add option UNSAFE which disables all internal error checksMattias Andrée2016-04-271-2/+2
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Mostly optimisationsMattias Andrée2016-03-141-1/+5
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Multiple changes:Mattias Andrée2016-03-131-2/+2
| | | | | | | | | | | | | | | | 1) Compile test with -O0, it takes too long otherwise. 2) Add error codes: ZERROR_0_POW_0, ZERROR_0_DIV_0, ZERROR_DIV_0, ZERROR_NEGATIVE. 3) Add workaround for a bug in clang (src/allocator.c). 4) Cleanups. 5) Minor optimisations. 6) Add inclusion guard for zahl.h. Signed-off-by: Mattias Andrée <maandree@kth.se>
* OptimisationsMattias Andrée2016-03-131-2/+2
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* 64 bits (severely) outshines 16 bits and 8 bits in performance: do some cleanupMattias Andrée2016-03-121-19/+0
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* 64-bit chars out-perform 32-bit chars on almost all operations, and on all expensive operationsMattias Andrée2016-03-121-3/+0
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Clean up, add zerror and zperror, fix bugs and add more testsMattias Andrée2016-03-041-5/+29
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Add makefile and fix errorsMattias Andrée2016-03-041-3/+3
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Cleanup and fix bug in ztruncMattias Andrée2016-03-031-5/+3
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* zsets: minor optimisationMattias Andrée2016-03-031-1/+4
| | | | Signed-off-by: Mattias Andrée <maandree@kth.se>
* Add zsets and zstrMattias Andrée2016-03-021-0/+47
Signed-off-by: Mattias Andrée <maandree@kth.se>