arc optimizations (#13325)
* scope based destructors * handle 'or' and 'and' expressions properly, see the new test arc/tcontrolflow.nim * make this branch mergable, logic is disabled for now
This commit is contained in:
parent
a96842aaeb
commit
fb641483f0
11 changed files with 312 additions and 95 deletions
|
|
@ -2,7 +2,7 @@ discard """
|
|||
valgrind: true
|
||||
cmd: '''nim c -d:nimAllocStats --newruntime $file'''
|
||||
output: '''OK 3
|
||||
(allocCount: 8, deallocCount: 3)'''
|
||||
(allocCount: 8, deallocCount: 5)'''
|
||||
"""
|
||||
|
||||
import strutils, math
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue