Register    Login    Forum    Search    FAQ

Board index » Everything




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post Posted: November 5th, 2014, 12:09 am 
 

Joined: June 26th, 2012, 5:38 pm
Posts: 752
Location: USA
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!


Attachments:
HeapAlloc.h [5.63 KiB]
Downloaded 60 times

_________________
Computer too slow? Consider running a VM on your toaster.
Top 
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
 
Post new topic Reply to topic  [ 1 post ] 

Board index » Everything


 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
cron