Arc Forumnew | comments | leaders | submitlogin
1 point by akkartik 4524 days ago | link | parent

Random follow-up: I figured I'd try to make concatenation more efficient by using queues:

  def! (join ... args)
    collect:each arg args   # using faster accum: http://www.arclanguage.org/item?id=14492
      each elem arg
        yield elem
For some reason that is 3x slower than the obvious recursive version in wart. I need to understand why..