[Cuis-dev] Backticks
Casey Ransberger
bahweep at icloud.com
Wed May 27 12:38:49 PDT 2020
Okay, that’s more or less what I thought. Thanks Phil.
—Casey
> On May 27, 2020, at 12:24 PM, Phil B via Cuis-dev <cuis-dev at lists.cuis.st> wrote:
>
> Casey,
>
> It's just an ad hoc literal syntax useful for frequently called code. It provides a bit of a performance boost as well as a corresponding reduction in GC's. So rather than something like 0 @ 0 which will create a new point at run time each time it is called, `0 @ 0` will create the point once at compile time.
>
> Thanks,
> Phil
>
> On Wed, May 27, 2020 at 3:00 PM Casey Ransberger via Cuis-dev <cuis-dev at lists.cuis.st <mailto:cuis-dev at lists.cuis.st>> wrote:
> What are backticks doing again? Do these produce static literals or something? I know this was discussed recently but I can’t remember… sorry about that.
>
> —Casey
> --
> Cuis-dev mailing list
> Cuis-dev at lists.cuis.st <mailto:Cuis-dev at lists.cuis.st>
> https://lists.cuis.st/mailman/listinfo/cuis-dev <https://lists.cuis.st/mailman/listinfo/cuis-dev>
> --
> Cuis-dev mailing list
> Cuis-dev at lists.cuis.st
> https://lists.cuis.st/mailman/listinfo/cuis-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20200527/2e242256/attachment.htm>
More information about the Cuis-dev
mailing list