Closed soywiz closed 7 years ago
This PR is to try to find and fix the flacky HaxeCpp big test that seems to be related to copy. My guess is that Vector.blit doesn't support overlapping that is a property supported by java System.copy. http://en.cppreference.com/w/c/string/byte/memcpy <--- overlapping produces undefined results for performance http://en.cppreference.com/w/c/string/byte/memmove <--- overlapping is supported
It seems (at least in theory) that it should support overlapping: https://github.com/HaxeFoundation/hxcpp/blob/492b0cbb91c5eb0fe6214b3e5f04bf10e1828163/src/Array.cpp#L161
This PR is to try to find and fix the flacky HaxeCpp big test that seems to be related to copy. My guess is that Vector.blit doesn't support overlapping that is a property supported by java System.copy. http://en.cppreference.com/w/c/string/byte/memcpy <--- overlapping produces undefined results for performance http://en.cppreference.com/w/c/string/byte/memmove <--- overlapping is supported
It seems (at least in theory) that it should support overlapping: https://github.com/HaxeFoundation/hxcpp/blob/492b0cbb91c5eb0fe6214b3e5f04bf10e1828163/src/Array.cpp#L161