Click here to Skip to main content
16,004,969 members
Home / Discussions / Design and Architecture
   

Design and Architecture

 
GeneralRe: A particular bug-bear of mine. Pin
Pete O'Hanlon3-Jan-07 3:58
mvePete O'Hanlon3-Jan-07 3:58 
AnswerRe: A particular bug-bear of mine. Pin
Ed.Poore3-Jan-07 7:09
Ed.Poore3-Jan-07 7:09 
GeneralRe: A particular bug-bear of mine. Pin
Pete O'Hanlon3-Jan-07 8:36
mvePete O'Hanlon3-Jan-07 8:36 
GeneralRe: A particular bug-bear of mine. Pin
Ed.Poore3-Jan-07 8:50
Ed.Poore3-Jan-07 8:50 
AnswerRe: A particular bug-bear of mine. Pin
Code_Doctor16-Apr-07 18:10
Code_Doctor16-Apr-07 18:10 
QuestionSelection, as if it were text. Pin
Captain See Sharp27-Dec-06 10:01
Captain See Sharp27-Dec-06 10:01 
AnswerRe: Selection, as if it were text. Pin
J. Dunlap28-Dec-06 1:37
J. Dunlap28-Dec-06 1:37 
GeneralRe: Selection, as if it were text. Pin
Captain See Sharp28-Dec-06 8:51
Captain See Sharp28-Dec-06 8:51 
Thanks for you input.

I'm building a new version of my hex editor control just to let you know.

J. Dunlap wrote:
Two ints would be just fine unless you anticipate working with buffers >1.99GB.


In the last version of my control I used ints. It was suffecient however in my new version I want it to be able to work with extremely large files. For large files I'm going to make it so it will not load the entire file so it wont use too much memory. If the program selects data that is not loaded into memory it will still need to know the index of the data so I will use longs.

A binary search would be a good idea and I may do that, How would I sort the ranges? Could I just add the MaxValue, MinValue, and Range together and sort by that sum?


█▒▒▒▒▒██▒█▒██
█▒█████▒▒▒▒▒█
█▒██████▒█▒██
█▒█████▒▒▒▒▒█
█▒▒▒▒▒██▒█▒██

GeneralRe: Selection, as if it were text. Pin
J. Dunlap28-Dec-06 14:58
J. Dunlap28-Dec-06 14:58 
GeneralRe: Selection, as if it were text. Pin
Captain See Sharp28-Dec-06 15:33
Captain See Sharp28-Dec-06 15:33 
GeneralRe: Selection, as if it were text. [modified][modified] Pin
Captain See Sharp3-Jan-07 13:33
Captain See Sharp3-Jan-07 13:33 
QuestionNew Forum Pin
Bradml25-Dec-06 0:13
Bradml25-Dec-06 0:13 
GeneralAwesome! Pin
J. Dunlap24-Dec-06 14:51
J. Dunlap24-Dec-06 14:51 
GeneralFirst Square Post On A New Forum Pin
Bassam Abdul-Baki23-Dec-06 9:04
professionalBassam Abdul-Baki23-Dec-06 9:04 
JokeWhy Discriminate? Pin
CPallini23-Dec-06 23:31
mveCPallini23-Dec-06 23:31 
GeneralRe: First Square Post On A New Forum Pin
Paul Conrad26-Dec-06 18:24
professionalPaul Conrad26-Dec-06 18:24 
GeneralRe: First Square Post On A New Forum Pin
User 171649227-Dec-06 1:52
professionalUser 171649227-Dec-06 1:52 
GeneralRe: First Square Post On A New Forum Pin
Paul Conrad27-Dec-06 6:11
professionalPaul Conrad27-Dec-06 6:11 
GeneralRe: First Square Post On A New Forum Pin
Bassam Abdul-Baki27-Dec-06 7:26
professionalBassam Abdul-Baki27-Dec-06 7:26 
GeneralRe: First Square Post On A New Forum Pin
Paul Conrad27-Dec-06 7:45
professionalPaul Conrad27-Dec-06 7:45 
GeneralRe: First Square Post On A New Forum Pin
Bassam Abdul-Baki27-Dec-06 9:44
professionalBassam Abdul-Baki27-Dec-06 9:44 
GeneralRe: First Square Post On A New Forum Pin
Paul Conrad27-Dec-06 10:11
professionalPaul Conrad27-Dec-06 10:11 
GeneralRe: First Square Post On A New Forum Pin
User 171649227-Dec-06 12:57
professionalUser 171649227-Dec-06 12:57 
GeneralRe: First Square Post On A New Forum Pin
Paul Conrad27-Dec-06 15:05
professionalPaul Conrad27-Dec-06 15:05 
GeneralRe: First Square Post On A New Forum Pin
Bassam Abdul-Baki27-Dec-06 2:17
professionalBassam Abdul-Baki27-Dec-06 2:17 

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.