wxmaxima:feature/KubaO/markdown-parser-speedup

Last commit made on 2020-07-10
Get this branch:
git clone -b feature/KubaO/markdown-parser-speedup https://git.launchpad.net/wxmaxima

Branch merges

Branch information

Name:
feature/KubaO/markdown-parser-speedup
Repository:
lp:wxmaxima

Recent commits

faa0db3... by Kuba Ober <email address hidden> on 2020-05-04

WIP - This is a mess. We need a proper parser. [ci skip]

We must use a 3rd-party parser, and settle on something like CommonMark as our standard for Markup.

99aa628... by Kuba Ober <email address hidden> on 2020-05-03

Refactor the markdown parser to make it hopefully easier to understand.

9a853cb... by Kuba Ober <email address hidden> on 2020-05-04

Do not reallocate source string in the markdown parser.

c4a888b... by Kuba Ober <email address hidden> on 2020-05-04

Add string utilities.

c473545... by Kuba Ober <email address hidden> on 2020-05-01

Refactor replacement elements.

25f49f2... by Kuba Ober <email address hidden> on 2020-05-01

Reduce memory allocations, levels of indirection and copying in the markdown parser.

1a8962c... by PeterPall on 2020-05-01

Got rid of another warning

988cf0f... by Kuba Ober <email address hidden> on 2020-05-01

Reduce data structure overhead. Fix a broken regex. (#1261)

* Fix a regex that wasn't compiled in release mode.

Asserts vanish in release mode.

* Use std::make_shared for the inner cells.

* Keep inner cell lists as vectors - faster than lists.

* Use std::make_shared for images.

* Pass filesystem pointers by value to leverage scoped object lifetime.

* Remove an unused local shared_ptr. It was a no-op.

* Use std::make_shared with timers and streams.

* Use shared_ptr::reset and unique_ptr::reset where appropriate.

f2cebad... by PeterPall on 2020-04-30

Tried to mute some asserts that fire.

9a9232d... by PeterPall on 2020-04-30

Repaired the bold flag.

I know that this piece of code is being revised, anyway.
But I wanted to be able to clear the "bold" flag in the meantime
so I tried to correct this aspect.