Forcing inlining of delegates and lazy
monkyyy
crazymonkyyy at gmail.com
Mon Aug 31 18:18:59 UTC 2026
On Monday, 31 August 2026 at 17:36:55 UTC, ABrightLight wrote:
> Hello. I am trying to figure out some way to get delegates or
> lazy parameters to get inlined into the function they are
> called with.
> ```lisp
> ```
> These sorts of macros greatly aid in readability and
> maintainability.
>
> The drawback to the lazy/delegate approach so far is the extra
> indirection of the function call.
Are you not making a type error? A delegate is a runtime function
pointer and context, macros and inlining are ct
depending on use I think whatever your trying to do would
naturally work if it was static functions gathered up at compile
time
More information about the Digitalmars-d
mailing list