Interpolation struct names and location
Quirin Schroll
qs.il.paperinik at gmail.com
Thu Feb 15 15:43:08 UTC 2024
On Wednesday, 14 February 2024 at 05:30:47 UTC, Steven
Schveighoffer wrote:
> […]
>
> However, [these
> names](https://github.com/dlang/dmd/blob/98443676dcfa32f7234ebab6ca9f925e1d3cd736/druntime/src/core/interpolation.d#L102) are rather verbose. And every function that accepts these sequences is going to be mangled with some pretty long names.
>
> […]
If mangled name length is an issue, couldn’t you name them
something very, very succinct like `__iH`, `__iF`, `__iE`, and
`__iL` and just define some easy-to-comprehend aliases? As far as
short mangling is concerned, the succinct identifiers need not
even be (public) in object.d, only the aliases.
More information about the Digitalmars-d
mailing list