eXist-db / templating

HTML Templating Library for eXist-db
GNU Lesser General Public License v2.1
5 stars 8 forks source link

Performance boost by eliminating not() #10

Closed ahenket closed 2 years ago

ahenket commented 2 years ago

Reverses the logic so you skip the need for not(). This gives every call a slight performance boost.

Thank you for your Pull Request

If you're adding a new feature, please adjust / add tests covering your code changes. You can reference any related issues below.

Enhancement # templates:get-configuration#1 is little faster by skipping not()

joewiz commented 2 years ago

This PR was included in https://github.com/eXist-db/templating/releases/tag/v1.0.4.