vapor / leaf-kit

🍃 An expressive, performant, and extensible templating language built for Swift.
https://docs.vapor.codes/4.0/leaf/getting-started
MIT License
49 stars 38 forks source link

Performance Improvements #63

Closed tdotclare closed 4 years ago

tdotclare commented 4 years ago

This release significantly improves performance of reading raw template files

Internal Notes

Template source documents being parsed previously involved mutating an array copy of the template source; now scans a constant String copy and pre-allocates chunked reading method [Character] storage

tanner0101 commented 4 years ago

These changes are now available in 1.0.0-rc.1.14