faster xexpr->string
This commit is contained in:
parent
923b5864a5
commit
8b7f5bc046
|
@ -78,7 +78,7 @@
|
||||||
;; xexpr->string : Xexpression -> String
|
;; xexpr->string : Xexpression -> String
|
||||||
(define (xexpr->string xexpr)
|
(define (xexpr->string xexpr)
|
||||||
(let ([port (open-output-string)])
|
(let ([port (open-output-string)])
|
||||||
(write-xml/content (xexpr->xml xexpr) port)
|
(write-xexpr xexpr port)
|
||||||
(get-output-string port)))
|
(get-output-string port)))
|
||||||
|
|
||||||
(define (string->xexpr str)
|
(define (string->xexpr str)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user