There's some issues involving the use of array literals - they get allocated on the heap for no clear reason. Create a version of your vector constructor that uses four floats, then call that instead in your line 324.
- Re: Slow performance compared to C++, ideas? Manu
- Re: Slow performance compared to C++, ideas? Walter Bright
- Re: Slow performance compared to C++, ideas? Marco Leise
- Re: Slow performance compared to C++, ide... Jonathan M Davis
- Re: Slow performance compared to C++, ide... Jacob Carlborg
- Re: Slow performance compared to C++,... Jonathan M Davis
- Re: Slow performance compared to C++,... Manu
- Re: Slow performance compared to C++,... Andrei Alexandrescu
- Re: Slow performance compared to C++, ideas? Martin Nowak
- Re: Slow performance compared to C++, ideas? FeepingCreature
- Re: Slow performance compared to C++, ideas? FeepingCreature
- Re: Slow performance compared to C++, ideas? finalpatch
- Re: Slow performance compared to C++, ideas? Juan Manuel Cabo
- Re: Slow performance compared to C++, ide... finalpatch
- Re: Slow performance compared to C++, ide... Martin Nowak
- Re: Slow performance compared to C++, ideas? nazriel
- Re: Slow performance compared to C++, ideas? Juan Manuel Cabo