Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

c# optimization

Name: C !X9l.ZOI87s 2010-02-07 15:59

Is there any way to make this faster? C# on the Xbox (XNA) - for those that don't know the CPUs are shitty PowerPC cores, and is slowwww.


toDraw = redBulletList.Count;
if (toDraw > 0)
{
    Array.Resize(ref instanceTransforms, toDraw);
    for (int i = 0; (i < toDraw && i < redBulletList.Count); i++)
    {
       instanceTransforms[i] = redBulletList[i].Transform;
    }
    redBulletInstance.DrawInstances(instanceTransforms, _viewMatrix, _projectionMatrix);
}

Name: Anonymous 2010-02-07 22:06

>>1
PowerPC
God, don't remind me. Back when Apple was an incredibly niche company nobody had ever heard of, with a whole eight or nine customers, they kept spreading FUD about how Intel processors were slower (per clock) than their own proprietary PPC shit. They didn't mention the part about how this was a blatant lie, never mind little details like an FSB design that topped out at 133MHz and old-style DRAM, even though the actual CPU clock could go up to 2GHz with overclocking.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List