mkrd
mkrd
@tiangolo I Checked it with python 3.10, 3.9 and 3.8, all throwing the same error. I always use a clean new venv created with poetry, so there are no conflicts...
@twodayslate Do you remember why we have set it to internal?
- Option 3 looks best, it is explicit, better than the indirection of before - select key and keys could be just select and select_not
Can you set the "rounded" parameter to false and check again? I think the problem might have something to do with rounding at a given precision level. But still that...
Okay I got it, in the case of precision=2, it computes 0.999 so since the third 9 is >= 5, the second 9 is rounded up, but there is a...
Could be solved easily by checking the last digit of the derived BInt before converting to a string, if .divmod(10).remainder >= 5 then take .divmod(10).quotient + 1, else .divmod(10).quotient. Only...
Hi! I can look into that in the next few days! You could also put all the data into a single json file, which would also increase the speed since...
Proof of concept with fcntl: ~~~python from multiprocessing.pool import Pool import os import json import contextlib import fcntl import time RUNS_PER_WORKER = 30_000 WORKERS = 10 def writer(): for _...
Current solution: ~~~python from multiprocessing.pool import Pool import os import json import contextlib import time import dictdatabase as DDB RUNS_PER_WORKER = 3_000 WORKERS = 10 def writer(): DDB.config.storage_directory = "."...
Hi, thank you! The reasoning behind always sorting the keys is that the indexer saves the start and end positions of each key value pair so that reading and writing...