Disappointing performance from DMD/Phobos

Nathan S. no.public.email at example.com
Tue Jun 26 03:24:26 UTC 2018


On Tuesday, 26 June 2018 at 02:20:37 UTC, Manu wrote:
> I optimised another major gotcha eating perf, and now this 
> issue is taking 13% of my entire work time... bummer.

Without disagreeing with you, ldc2 optimizes this fine.

https://run.dlang.io/is/NJct6U
----
const @property uint onlineapp.Entity.systemBits():
	.cfi_startproc
	movl	4(%rdi), %eax
	addl	12(%rdi), %eax
	addl	20(%rdi), %eax
	addl	28(%rdi), %eax
	retq
----


More information about the Digitalmars-d mailing list