float[] → Vertex[] – decreases performance by 1000%

Timon Gehr timon.gehr at gmx.ch
Tue Aug 28 16:19:59 PDT 2012


On 08/28/2012 06:35 PM, David wrote:
> Am 28.08.2012 17:41, schrieb bearophile:
>> David:
>>
>>> The arrays are 100% identical (I dumped a Vertex()-array and a raw
>>> float-array, they were 100% identical).
>>
>> I hope some people are realizing how much time is being wasted in this
>> thread. Taking a look at the asm is my suggestion still. If someone is
>> rusty in asm, it's time to brush away the rust with a steel brush.
>>
>> Bye,
>> bearophile
>
> You're right, but I also said, that I don't care anylonger, I found a
> workaround, I can live with it. I generally tend to ignore dmd bugs and
> just workaround them, I don't have the time to track down every stuipid
> bug from a ~8k codebase.
>
> Thanks anyways for your help.

Use this to create a minimal test case with minimal user interaction:
https://github.com/CyberShadow/DustMite


More information about the Digitalmars-d-learn mailing list