4 ms·
I wouldn't call that code C++ at all, it's C with a few C++ keywords/niceties. [1],[2] [1] https://github.com/fabric-engine/Benchmarks/blob/f11cf6cc8cf4b3cab80
by blub 15y ago
I wouldn't call that code C++ at all, it's C with a few C++ keywords/niceties. [1],[2]
[1] https://github.com/fabric-engine/Benchmarks/blob/f11cf6cc8cf4b3cab8048bf48e14dc651532be98/Server/ValueAtRisk/var-st.cpp https://github.com/fabric-engine/Benchmarks/blob/f11cf6cc8cf...
[2] https://github.com/fabric-engine/Benchmarks/blob/f11cf6cc8cf4b3cab8048bf48e14dc651532be98/Server/ValueAtRisk/var-mt.cpp https://github.com/fabric-engine/Benchmarks/blob/f11cf6cc8cf...
- Game_Ender 15y agoYep and here is the C version: http://pastebin.com/z7apLBHb http://pastebin.com/z7apLBHb and it's diff: http://pastebin.com/YHjW6AHp http://pastebin.com/YHjW6AHp On my machine the C and C++ versions essentially have the same speed.