Interpolation struct names and location
Richard (Rikki) Andrew Cattermole
richard at cattermole.co.nz
Wed Feb 14 09:48:48 UTC 2024
On 14/02/2024 10:41 PM, Daniel N wrote:
> On Wednesday, 14 February 2024 at 05:33:54 UTC, Richard (Rikki) Andrew
> Cattermole wrote:
>> One option to consider is to give it a long name that is an alias in
>> object.d but a short name in a second module.
>>
>> That'll keep mangling to be a non-issue and attempt to keep object.d
>> size down, even if it does mean an import.
>
> importing another file, just slows down compilation.
Not necessarily.
It all depends upon how lazy the compiler can be for: ``public import
std.stdio : wln = writeln;``
More information about the Digitalmars-d
mailing list