UNIX Socket FAQ

A forum for questions and answers about network programming on Linux and all other Unix-like systems

You are not logged in.

  • Index
  • » C
  • » is malloc expensive ?

#1 2007-12-17 06:38 PM

vivek526
Member
Registered: 2006-09-25
Posts: 20
Website

Re: is malloc expensive ?

In general, is malloc() expensive call? Say i want to receive data, is it good to have a memory pool rather than using malloc everytime ?

I want to know how expensive malloc is (if it really is)


-- Vivek Purushotham

Offline

#2 2007-12-17 07:25 PM

i3839
Oddministrator
From: Amsterdam
Registered: 2003-06-07
Posts: 2,239

Re: is malloc expensive ?

Offline

  • Index
  • » C
  • » is malloc expensive ?

Board footer

Powered by FluxBB