I am having a mesh ([url=http://irrlicht.sourceforge.net/phpBB2/ ... hp?t=17286]here is the thread[/quote]) and ) I generate a OcTreeSceneNode out of it.
When I use windows this takes around 1-2 seconds. I am using gcc under windows. When I boot Linux and recompile the code there (same PC again gcc) the generation of the OcTree takes 21 Seconds.
Does anyone has an Idea, what can cause this differences?
Linux - OcTree Problem
I am using Code::Blocks both in Linux and Windows.
Both are compiling the Source in Release mode with -s -O3 -fexpensive-optimizations
Still: ~2 seconds for OcTree on Windows, ~20 seconds on linux =(
As there are some more linuxusers around here, perhaps someone can give me a hint?
Both are compiling the Source in Release mode with -s -O3 -fexpensive-optimizations
Still: ~2 seconds for OcTree on Windows, ~20 seconds on linux =(
Code: Select all
Needed 22999ms to create OctTree SceneNode.(1274 nodes, 47433 polys)
Uh...
In profilemode: 33 seconds in:
next ist 7seconds:
As far as I understand, the arraystuff takes place in the octtreenode
In profilemode: 33 seconds in:
Code: Select all
irr::core::array<unsigned short, irr::core::irrAllocator<unsigned short> >::erase(unsigned int, int)
Code: Select all
irr::core::irrAllocator<unsigned short>::construct(unsigned short*, unsigned short const&)