Closed groue closed 5 years ago
This pull request fixes #60.
Template parsing was awfully slow, in Debug configuration. But not in Release configuration.
Why? I don't know. Something must has recently changed in the compiler. I could witness the slowness with Xcode 10.2.1.
Anyway, Instruments has shown where the slowness was. This PR fixes it, by replacing a local closure into a regular method.
CC @pakko972: switch to branch fix-slowness until this PR is properly merged and released!
fix-slowness
This pull request fixes #60.
Template parsing was awfully slow, in Debug configuration. But not in Release configuration.
Why? I don't know. Something must has recently changed in the compiler. I could witness the slowness with Xcode 10.2.1.
Anyway, Instruments has shown where the slowness was. This PR fixes it, by replacing a local closure into a regular method.