Commit 5bd91f79 authored by Paul Bonser's avatar Paul Bonser

No need to wrap call to float in a lambda, ~17% speedup of dropcutter

parent a4c1edec
......@@ -51,6 +51,6 @@ else:
if _use_precision:
number = lambda value: decimal.Decimal(str(value))
else:
number = lambda value: float(value)
number = float
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment