crick
crick copied to clipboard
Memory leak in quantile function
Running:
#!/usr/bin/env python3
import numpy as np
import datetime
from crick import TDigest
td = TDigest()
for j in range(1000000):
arr = np.array(1)
td.update(arr)
x = td.quantile(0.88)
Leads to this memory usage pattern: