links-lang / links

Links: Linking Theory to Practice for the Web
http://www.links-lang.org
Other
333 stars 43 forks source link

Delayed assert condition expressions #1108

Closed dhil closed 2 years ago

dhil commented 2 years ago

This patch provides a quickfix for #1095 as it delays evaluation of the potentially expensive condition expressions of _$Debug.assert. I will look into a preprocessor-based solution to dispense entirely of _$Debug.debug and _$Debug.assert when we start doing more serious benchmarking.

Resolves #1095.