Oleg Goldshmidt wrote: > "Peter L. Peres" <[EMAIL PROTECTED]> writes: > > > At the hw level: The addressable memory on an Intel proecssor is divided > > into pages (currently 4k each ?). This is the minimum size of any > > allocated memory, file, program etc. > > Are you saying that "malloc(sizeof(int))" allocates 4k on an Intel > machine? ANy answer to this question will be false. You cannot know how much memory will be allocated since the Algorithm ued by malloc is an on-line addaptive one. The answer is that it can be between 0 bytes and 100M or so. And it can be non-dependant on the size you asked. > > > -- > Oleg Goldshmidt [EMAIL PROTECTED] > BLOOMBERG L.P. (BFM) [EMAIL PROTECTED]
- Re: I think this qualifies as a newbie... Nimrod Zimerman
- Re: I think this qualifies as a newbie ques... Stanislav Malyshev a.k.a Frodo
- Re: I think this qualifies as a newbie ques... Vadim Smelyansky
- Re: I think this qualifies as a newbie... Ury Segal
- Re: I think this qualifies as a ne... Peter L. Peres
- Re: I think this qualifies as ... Udi Finkelstein
- Re: I think this qualifies as a newbie... Peter L. Peres
- Re: I think this qualifies as a ne... Oleg Goldshmidt
- Re: I think this qualifies as ... Alexander L. Belikoff
- Re: I think this qualifies as ... Peter L. Peres
- Re: I think this qualifies as ... Ury Segal
- Re: I think this qualifies as a ne... Ury Segal
- Re: I think this qualifies as a newbie ques... =18Isaac Aaron
- Re: I think this qualifies as a newbie ques... Oded Arbel
- Re: I think this qualifies as a newbie... roih
- Re: I think this qualifies as a newbie... Peter L. Peres
- Re: I think this qualifies as a ne... Udi Finkelstein
- Re: I think this qualifies as a newbie... Udi Finkelstein
- Re: I think this qualifies as a ne... Oded Arbel
- Re: I think this qualifies as ... Udi Finkelstein
- Re: I think this qualifies as a newbie ques... Oded Arbel