Click here to Skip to main content
15,924,195 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: a question on heap..... Pin
Toby Opferman10-Jun-05 12:35
Toby Opferman10-Jun-05 12:35 
GeneralRe: a question on heap..... Pin
Toby Opferman10-Jun-05 12:41
Toby Opferman10-Jun-05 12:41 
GeneralRe: a question on heap..... Pin
Bob Stanneveld10-Jun-05 13:24
Bob Stanneveld10-Jun-05 13:24 
GeneralRe: a question on heap..... Pin
Toby Opferman10-Jun-05 13:36
Toby Opferman10-Jun-05 13:36 
GeneralRe: a question on heap..... Pin
Toby Opferman10-Jun-05 14:02
Toby Opferman10-Jun-05 14:02 
GeneralRe: a question on heap..... Pin
Bob Stanneveld11-Jun-05 1:25
Bob Stanneveld11-Jun-05 1:25 
GeneralRe: a question on heap..... Pin
Toby Opferman11-Jun-05 7:49
Toby Opferman11-Jun-05 7:49 
GeneralRe: a question on heap..... Pin
Bob Stanneveld12-Jun-05 6:00
Bob Stanneveld12-Jun-05 6:00 
Hello,

I don't think that you understand completly what I want. If you want to leverage all that MMF's has to offer, you need to know when certain data is going to be accessed. This way, you can traverse large files using views of only parts of that file.
I want to have a very large heap, which allows you to allocate classes and POD's. Since the user can be using this as a heap, you'll never know when certain data is accessed. So every assumption would be wrong and almost never will the data be accessed sequential. It'll be completely random.

At this point, I'll keep both options open and I might implement different allocation strategies and do some benchmark tests and describe the results in part three of the articles. But this is it for the moment.

Behind every great black man...
            ... is the police. - Conspiracy brother


Blog[^]
GeneralRe: a question on heap..... Pin
Toby Opferman12-Jun-05 7:32
Toby Opferman12-Jun-05 7:32 
GeneralRe: a question on heap..... Pin
Toby Opferman12-Jun-05 7:52
Toby Opferman12-Jun-05 7:52 
GeneralRe: a question on heap..... Pin
Toby Opferman12-Jun-05 8:21
Toby Opferman12-Jun-05 8:21 
GeneralRe: a question on heap..... Pin
Bob Stanneveld12-Jun-05 20:47
Bob Stanneveld12-Jun-05 20:47 
GeneralRe: a question on heap..... Pin
Toby Opferman13-Jun-05 10:28
Toby Opferman13-Jun-05 10:28 
GeneralRe: a question on heap..... Pin
Bob Stanneveld13-Jun-05 11:51
Bob Stanneveld13-Jun-05 11:51 
GeneralRe: a question on heap..... Pin
Toby Opferman14-Jun-05 12:46
Toby Opferman14-Jun-05 12:46 
GeneralRe: a question on heap..... Pin
Bob Stanneveld14-Jun-05 20:42
Bob Stanneveld14-Jun-05 20:42 
GeneralRe: a question on heap..... Pin
Toby Opferman9-Jun-05 19:14
Toby Opferman9-Jun-05 19:14 
QuestionWinsock2 -- recv() function query? Pin
arrya_amit3-May-05 19:45
arrya_amit3-May-05 19:45 
AnswerRe: Winsock2 -- recv() function query? Pin
DKT_3-May-05 20:29
DKT_3-May-05 20:29 
GeneralThe differences between "class" and "struct" in C++ Pin
inew3-May-05 19:25
inew3-May-05 19:25 
GeneralRe: The differences between "class" and "struct" in C++ Pin
Priyank Bolia3-May-05 19:30
Priyank Bolia3-May-05 19:30 
GeneralRe: The differences between "class" and "struct" in C++ Pin
S. Senthil Kumar3-May-05 20:35
S. Senthil Kumar3-May-05 20:35 
GeneralRe: The differences between "class" and "struct" in C++ Pin
Bob Stanneveld3-May-05 22:27
Bob Stanneveld3-May-05 22:27 
GeneralRe: The differences between "class" and "struct" in C++ Pin
Anonymous3-May-05 22:55
Anonymous3-May-05 22:55 
GeneralRe: The differences between "class" and "struct" in C++ Pin
Bob Stanneveld4-May-05 0:18
Bob Stanneveld4-May-05 0:18 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.