summaryrefslogtreecommitdiff
path: root/examples/redis-unstable/deps/jemalloc/src/ticker.py
diff options
context:
space:
mode:
authorMitja Felicijan <mitja.felicijan@gmail.com>2026-01-21 22:52:54 +0100
committerMitja Felicijan <mitja.felicijan@gmail.com>2026-01-21 22:52:54 +0100
commitdcacc00e3750300617ba6e16eb346713f91a783a (patch)
tree38e2d4fb5ed9d119711d4295c6eda4b014af73fd /examples/redis-unstable/deps/jemalloc/src/ticker.py
parent58dac10aeb8f5a041c46bddbeaf4c7966a99b998 (diff)
downloadcrep-dcacc00e3750300617ba6e16eb346713f91a783a.tar.gz
Remove testing data
Diffstat (limited to 'examples/redis-unstable/deps/jemalloc/src/ticker.py')
-rwxr-xr-xexamples/redis-unstable/deps/jemalloc/src/ticker.py15
1 files changed, 0 insertions, 15 deletions
diff --git a/examples/redis-unstable/deps/jemalloc/src/ticker.py b/examples/redis-unstable/deps/jemalloc/src/ticker.py
deleted file mode 100755
index 3807740..0000000
--- a/examples/redis-unstable/deps/jemalloc/src/ticker.py
+++ /dev/null
@@ -1,15 +0,0 @@
-#!/usr/bin/env python3
-
-import math
-
-# Must match TICKER_GEOM_NBITS
-lg_table_size = 6
-table_size = 2**lg_table_size
-byte_max = 255
-mul = math.floor(-byte_max/math.log(1 / table_size))
-values = [round(-mul * math.log(i / table_size))
- for i in range(1, table_size+1)]
-print("mul =", mul)
-print("values:")
-for i in range(table_size // 8):
- print(", ".join((str(x) for x in values[i*8 : i*8 + 8])))