Add notes on using larger numberical sets.
This commit is contained in:
parent
0369c3fb86
commit
996bba9d10
|
@ -8,6 +8,8 @@ import unit_converter
|
||||||
@pytest.fixture(scope="module")
|
@pytest.fixture(scope="module")
|
||||||
def batch_numbers():
|
def batch_numbers():
|
||||||
return [random.random() * 100 for x in range(1000)]
|
return [random.random() * 100 for x in range(1000)]
|
||||||
|
# The larger the range of numbers, the closer the Rust version is to Python.
|
||||||
|
# e.g. return [random.random() * 100 for x in range(1000000)]
|
||||||
|
|
||||||
|
|
||||||
def batch_python_unit_converter(temperatures):
|
def batch_python_unit_converter(temperatures):
|
||||||
|
|
Loading…
Reference in New Issue