zadean / xqerl

Erlang XQuery 3.1 Processor

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Change string to utf8 binary.

zadean opened this issue · comments

Changing the integer-list "string" to UTF-8 binaries internally will lower memory usage and extremely speedup text append operations (e.g: fn:concat).

  • Change all string types to binary
  • Change all built-in functions using xs:string to accept binary (string-length != byte-size).

Done with 08ebccc .