What is your favorite hand-rolled malloc?
jey: It really depends on the application. I just use the default system allocator until it's inadequate for some task, and then I switch to an allocation scheme or heap allocator that's well-suited for that problem.Can you tell us more about your specific problem? Then we'd be able to give suggestions and help evaluate the options.