Hi

is \--gc:arc considered ready for production use in nim 1.2? I notice 
considerably worse performance of some code compiled using \--gc:arc. Here's an 
example:
    
    
    import times, strutils
    
    type
      OpType = enum Inc, Move, Loop, Print
      Ops = seq[Op]
      Op = object
        case op: OpType
        of Inc, Move: val: int
        of Loop: loop: Ops
        else: discard
      
      StringIterator = iterator(): char
      Tape = object
        pos: int
        tape: seq[int]
      
      Program = distinct Ops
    
    template benchmark(benchmarkName: string, code: untyped) =
      block:
        let t0 = epochTime()
        code
        let elapsed = epochTime() - t0
        let elapsedStr = elapsed.formatFloat(format = ffDecimal,
                    precision = 5)
        echo "Elapsed [", benchmarkName, "] ", elapsedStr, "seconds"
    
    func initTape(): Tape =
      result.pos = 0
      result.tape = newSeq[int](1)
    
    proc get(t: Tape): int {.inline.} = t.tape[t.pos]
    proc inc(t: var Tape, x: int) {.inline.} = t.tape[t.pos] += x
    proc move(t: var Tape, x: int) {.inline.} =
      t.pos += x
      while t.pos >= t.tape.len:
        t.tape.setLen 2 * t.tape.len
    
    func newStringIterator(s: string): StringIterator =
      result = iterator(): char =
        for i in s:
          yield i
    
    func parse(iter: StringIterator): Ops =
      for i in iter():
        case i
        of '+': result.add Op(op: Inc, val: 1)
        of '-': result.add Op(op: Inc, val: -1)
        of '>': result.add Op(op: Move, val: 1)
        of '<': result.add Op(op: Move, val: -1)
        of '.': result.add Op(op: Print)
        of '[': result.add Op(op: Loop, loop: parse iter)
        of ']': break
        else: discard
    
    func parse(code: string): Program =
      let iter = newStringIterator code
      result = Program parse iter
    
    var output: string
    proc run(ops: Ops, t: var Tape) =
      for op in ops:
        case op.op
        of Inc: t.inc op.val
        of Move: t.move op.val
        of Loop:
          while t.get() > 0: run(op.loop, t)
        of Print:
          output.add t.get().chr()
    
    proc run(ops: Program) =
      benchmark "mandel":
        var tape = initTape()
        run Ops ops, tape
      echo output
    
    """
    A mandelbrot set fractal viewer in brainf*** written by Erik Bosman
    
+++++++++++++[->++>>>+++++>++>+<<<<<<]>>>>>++++++>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<<<<]>>>[-]+>>>>>>[>>>>>>
    
>>>]>[-]+<]]+>[-<[>>>>>>>>>]<<<<<<<<]>>>>>>>>]<<<<<<<<<[<<<<<<<<<]>>>>[-]<<<++++
    
+[-[->>>>>>>>>+<<<<<<<<<]>>>>>>>>>]>>>>>->>>>>>>>>>>>>>>>>>>>>>>>>>>-<<<<<<[<<<<
    <<<<<]]>>>]
    """.parse().run()
    
    
    Run

The above code runs in ca. 55.29 seconds when compiled using nim c -d:danger 
--gc:arc ./test_arc.nim against ca. 19.25 seconds when compiled using nim c 
-d:danger ./test_arc.nim. Tested on Linux with Intel Core i9-9900K.

Reply via email to