You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using string builders instead of bytes buffer when executing the templates, and avoiding the | print "%s" in some templates afterwards, which is a wasting of memory since the data is copied when converted.
The text was updated successfully, but these errors were encountered:
This uses strings.Builder to get more efficiency and reduce
copies, but more importantly it gets rid of the need to pipe
output through printf "%s" in templates, which makes them
cleaner and nicer to work with.
Fixesbytesparadise#619
gdamore
added a commit
to gdamore/libasciidoc
that referenced
this issue
Jun 20, 2020
This uses strings.Builder to get more efficiency and reduce
copies, but more importantly it gets rid of the need to pipe
output through printf "%s" in templates, which makes them
cleaner and nicer to work with.
Fixesbytesparadise#619
Using string builders instead of bytes buffer when executing the templates, and avoiding the
| print "%s"
in some templates afterwards, which is a wasting of memory since the data is copied when converted.The text was updated successfully, but these errors were encountered: