is there an easy way in C++ to just allocate a page of memory?
-
-
(BTW, if you use these, you get the bonus that in debug mode, you can specify the addresses you're allocating - which means they can be the same across runs - which means you can save and restore memory across runs _with pointers in it_ and it will work!)
-
true, I actually disable my allocators in debug mode (with a flag, optionally) since mine won't know if you double free or whatever, and I kind of want to know that immediately. also only currently using them for a few things, malloc still gets hit up a bunch in other places :/
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.