Code



Application output:

Allocation of 10000000 structs: 25 ms and 640 μs Allocation of 10000000 new structs: 607 ms and 174 μs Allocation of 10000000 new classes: 529 ms and 672 μs Allocation of 10000000 scoped classes: 500 ms and 855 μs

Paste info


Author: Guest
Views: 80
Private: no
Expires: Never
Uploaded: 02.10.18 6:19
Votes: 0

Compilation


Compiler: DMD 2.083.1 ( 2.083.1 )
Pointer size: m64

Actions