Skip to content
This repository has been archived by the owner on Dec 13, 2017. It is now read-only.

Use multidimensional arrays instead of a continuous block of memory. #2

Open
Xaymar opened this issue Sep 6, 2014 · 1 comment
Open

Comments

@Xaymar
Copy link
Owner

Xaymar commented Sep 6, 2014

Since in the end all we do is store a pointer, using a continuous block of memory has near to no performance improvements on most of todays hardware.
It would probably be better to switch to a multidimensional array instead.

@Xaymar Xaymar modified the milestone: 1.0-hf1 Sep 6, 2014
@Xaymar
Copy link
Owner Author

Xaymar commented Oct 4, 2014

First attempt in 4.5, seems to randomly crash when accessing some of the arrays. Possibly garbage collection happening, if that even affects it.
Code works outside of Unreal Engine 4.5, so no idea why this isn't working right.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant