Page 1 of 1

Cameron's custom allocation functions

Posted: November 5th, 2014, 12:09 am
by cameron
Here are my custom allocation functions I wrote about a week ago. Their performance is better than new by anywhere from 30 - 500%. However, they are only single thread access safe. Unless I need multithreaded access I am going to use these for anything performance heavy. I use a lot of vs features in here, if you are interested in learning new things feel free to take a look. I included: templates, ternary operator( not new but, not often used ), rvalue references, placement new, parameter packs, custom stl allocators, custom deleters, and template aliasing. Good luck understanding why I did certain things though like lol xD. BTW thanks for assisting me in coding these functions Luis!