mirror of
https://github.com/littensy/charm.git
synced 2026-10-20 17:51:37 +00:00
perf: simplify mapped logic
This commit is contained in:
parent
f704acce71
commit
b61d0b3b86
2 changed files with 14 additions and 56 deletions
|
|
@ -10,7 +10,7 @@ local function run(name: string, test: () -> ())
|
|||
table.clear(times)
|
||||
table.clear(stack)
|
||||
|
||||
while os.clock() - start < 1 do
|
||||
while os.clock() - start < 2 do
|
||||
iter += 1
|
||||
test()
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue