diff options
author | John MacFarlane <jgm@berkeley.edu> | 2015-05-06 15:08:55 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2015-05-06 15:11:32 -0700 |
commit | 39c3554151d40464cd1694a4013acd1e0188dbc7 (patch) | |
tree | d5bf573d6345d33e3dd4460ed3577d2fd9f55f1b /src/commonmark.c | |
parent | 6d27ebf98e4de6bc8422eef495ea86c098c72e67 (diff) |
cmark_consolidate_text_nodes: avoid some unnecessary allocation.
This improves on #32, I think.
@elibarzilay, does this look better? We now avoid the allocations
associated with cmark_get_literal, and copy directly from
the chunk to the buffer.
Diffstat (limited to 'src/commonmark.c')
0 files changed, 0 insertions, 0 deletions