diff options
| author | Mattias Andrée <maandree@kth.se> | 2016-04-30 05:47:05 +0200 |
|---|---|---|
| committer | Mattias Andrée <maandree@kth.se> | 2016-04-30 05:47:05 +0200 |
| commit | 83d95da004c8cc2387a4070b781a71a0c6433faa (patch) | |
| tree | e5eaaa0e42bf7eeed461dc936bd2bed0600fb612 /src/zset.c | |
| parent | Some optimisations (diff) | |
| download | libzahl-83d95da004c8cc2387a4070b781a71a0c6433faa.tar.gz libzahl-83d95da004c8cc2387a4070b781a71a0c6433faa.tar.bz2 libzahl-83d95da004c8cc2387a4070b781a71a0c6433faa.tar.xz | |
Some optimisations
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
| -rw-r--r-- | src/zset.c | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/src/zset.c b/src/zset.c deleted file mode 100644 index b0188fc..0000000 --- a/src/zset.c +++ /dev/null @@ -1,16 +0,0 @@ -/* See LICENSE file for copyright and license details. */ -#include "internals.h" - - -void -zset(z_t a, z_t b) -{ - if (unlikely(b->sign == 0)) { - a->sign = 0; - } else { - a->sign = b->sign; - a->used = b->used; - ENSURE_SIZE(a, b->used); - zmemcpy(a->chars, b->chars, b->used); - } -} |
