kopia lustrzana https://github.com/micropython/micropython-lib
timeit: Don't call gc.disable(), in uPy that means also "alloc disable".
rodzic
c41717f2c1
commit
68b91ee6aa
|
@ -185,7 +185,7 @@ class Timer:
|
|||
else:
|
||||
it = [None] * number
|
||||
gcold = gc.isenabled()
|
||||
gc.disable()
|
||||
# gc.disable()
|
||||
try:
|
||||
timing = self.inner(it, self.timer)
|
||||
finally:
|
||||
|
|
Ładowanie…
Reference in New Issue