small string-join optimization
This commit is contained in:
parent
6638cdff55
commit
13e5097f3a
|
|
@ -33,9 +33,9 @@
|
||||||
(define i 0)
|
(define i 0)
|
||||||
(for e lst
|
(for e lst
|
||||||
(if (= i 0)
|
(if (= i 0)
|
||||||
(define rslt (display e))
|
(do (define rslt (display e)) (define i 1))
|
||||||
(define rslt (+ rslt (display sep) (display e))))
|
(define rslt (+ rslt (display sep) (display e)))
|
||||||
(define i (inc i)))
|
))
|
||||||
rslt
|
rslt
|
||||||
))
|
))
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue