TypeFunction example: ImplictConvTargets

Walter Bright newshound2 at digitalmars.com
Wed Oct 7 05:23:49 UTC 2020


On 10/6/2020 9:17 PM, H. S. Teoh wrote:
> So what does this imply in terms of Phobos code in D? ;-)  Should we
> uglify Phobos for the sake of performance?

I'd phrase it more as do what we gotta do for performance, yes.

> Keeping in mind, of course,
> what I said about the difficulty of optimizing for the general case
> without pessimizing some legitimate use cases -- or maybe even the
> *common* case, if we lose sight of the forest of common use cases while
> trying to optimize our chosen benchmark trees.

Of course, we have to use our brains instead of doing things blindly :-)


More information about the Digitalmars-d mailing list