Jump to content

  • Log In with Google      Sign In   
  • Create Account

14 years ago on June 15th Gamedev.net was first launched! We want to thank all of you for being part of our community and hope the best years are ahead of us. Happy birthday Gamedev.net!

#Actualsaejox

Posted 21 January 2013 - 10:55 AM

Sorry, i can't think anything other than custom allocators.

You can position your data any place that way. Won't be easy as you said.

There are many additional benefits using custom allocators: leak detection, memory statistics, defragmentation etc..

 

You might also consider creating a static array container. It still requires the custom allocator, but it's easier to write for sure.

AngelScript doesn't have static arrays yet.


#1saejox

Posted 21 January 2013 - 10:54 AM

Sorry, i can't think anything other than custom allocators.

You can position your data any place that way. Won't be easy as you said.

There are many additional benefits using custom allocators: leak detection, memory statistics, defragmentation etc..

 

You might also consider creating a static array container. It still requires the custom allocator, but it's easier to write for sure.

AngelScript still doesn't have static arrays.


PARTNERS