Custom C memory routines
os_mem
Go to The homepage to properly view this site in it's intended glory. Not to worry though, this site works even when all my stupid javascript isn't loaded.
Note to the user, this is my second attempt at this module. Due to the messy organisation of my website (HA!) I've simply copied all the old pages from the original os_mem page here and added in the new information above the old information. The old os_mem page can still be found at this page.
After getting some suggestions on comp.lang.c I've made a few changes to os_mem, namely:
- A new application (profile) has been added to test the speed of os_mem.
- The makefile has been updated to build the new target.
-
The os_mem module has been tested with profile
to give 3 sets of results:
- os_mem unchanged (the old version). The results of this are placed in old_method.txt
- The profile application was changed to not use os_mem functions, just to use std C memory functions. The results are in no_method.txt.
- os_mem changed to use a different algorithm in find_ptr. The results of this are placed in both_sides_method.txt.
- I've added a liberal licence so that everyone can use it (even in closed code) without feeling guilty :-).
Pick a suitable format from the links provided on the right; I've provided more than one distribution format so that you can choose the one most convenient to you.