mirror of
https://github.com/littensy/charm.git
synced 2026-10-22 12:41:37 +00:00
feat: add reactive()
This commit is contained in:
parent
7bad215560
commit
bd23d54374
26 changed files with 1129 additions and 569 deletions
|
|
@ -58,7 +58,9 @@ for _, percent in { 0.1, 0.5, 1 } do
|
|||
bench.profilebegin("init")
|
||||
out()
|
||||
bench.profileend()
|
||||
|
||||
setSrc(updatePercentage(percent))
|
||||
|
||||
bench.profilebegin("update")
|
||||
out()
|
||||
bench.profileend()
|
||||
|
|
@ -71,7 +73,9 @@ for _, percent in { 0.1, 0.5, 1 } do
|
|||
bench.profilebegin("init")
|
||||
out()
|
||||
bench.profileend()
|
||||
|
||||
setSrc(updatePercentage(percent))
|
||||
|
||||
bench.profilebegin("update")
|
||||
out()
|
||||
bench.profileend()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue