August 27, 2008
d-bugmail@puremagic.com wrote:
> http://d.puremagic.com/issues/show_bug.cgi?id=2313
> 
> 
> 
> 
> 
> ------- Comment #8 from lio+bugzilla@lunesu.com  2008-08-27 06:39 -------
> Created an attachment (id=273)
>  --> (http://d.puremagic.com/issues/attachment.cgi?id=273&action=view)
> assembly for _d_arrayappendcT using the original byte[] copy
> 
> 
There you go. Uses rep movsb instead of rep movsd. Immediately 4X slower than it could be.
August 27, 2008
Thing is, the compiler already knows ew're appending to an int[], so it shouldn't even be using a generic append routine if you ask me.

L.
1 2
Next ›   Last »