Merge: lib/markdown: improve performance a bit
authorJean Privat <jean@pryen.org>
Fri, 4 Mar 2016 14:00:28 +0000 (09:00 -0500)
committerJean Privat <jean@pryen.org>
Fri, 4 Mar 2016 14:00:28 +0000 (09:00 -0500)
commit040fc85a99d0a9eb34b29870186d3fd5adb72e92
treeb064ecbdaf4d1138ddd4c9e6bdd444226d528959
parent5e791a94e7fc108673ecc50317b5437d288c4023
parent93340fa53c97df830b6a25f69f50e1772a4945bb
Merge: lib/markdown: improve performance a bit

Using benchmarks/markdown:

* nitmd_master is before
* nitmd_md is this now
* nitmd_md_fast is with #1973 in addition
* the 3 same avain with with --semi-global
* 2 Java libs: txtmark, markdown4j

![bench_markdown](https://cloud.githubusercontent.com/assets/135828/13517453/b008a7fe-e191-11e5-80c8-d17cd85df6be.png)

There is still a lot of performance improvements to do anyway.

Pull-Request: #1972
Reviewed-by: Alexandre Terrasa <alexandre@moz-code.org>