Click here to Skip to main content
16,008,183 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralCOM+fopen - relative path Vs Absolute path Pin
devvvy22-Nov-02 16:57
devvvy22-Nov-02 16:57 
GeneralRe: COM+fopen - relative path Vs Absolute path Pin
Anders Molin23-Nov-02 0:45
professionalAnders Molin23-Nov-02 0:45 
Generalmemory slot and installed memory size/type Pin
JimBello22-Nov-02 14:18
JimBello22-Nov-02 14:18 
GeneralRe: memory slot and installed memory size/type Pin
alex.barylski22-Nov-02 18:24
alex.barylski22-Nov-02 18:24 
General'diff' algorithm Pin
moliate22-Nov-02 12:43
moliate22-Nov-02 12:43 
GeneralRe: 'diff' algorithm Pin
Shog922-Nov-02 13:05
sitebuilderShog922-Nov-02 13:05 
GeneralRe: 'diff' algorithm Pin
moliate22-Nov-02 15:29
moliate22-Nov-02 15:29 
GeneralRe: 'diff' algorithm Pin
Scott H. Settlemier23-Nov-02 6:32
Scott H. Settlemier23-Nov-02 6:32 
nice discussion here[^]

The problem with a big chunk of memory is the pure size of the string.
Most diff-like programs use something other than a byte or character
as the basic string element. (e.g. a line of text is probably the most
common string element for the diff algorithm. hence the 'string' is
really only as long as the number of lines in the file.)

If you can give up the minimum # of byte changes in the two
memory blocks, you can get better performance by using some suitable
'chunk' definition to break up memory into the elements of the strings
to be passed for diff analysis.

I'm no expert on this but was implementing something similar just
recently where the diff was first calculated on our chunks, and only
if the changed regions were small, would a finer intra-chunk diff be
performed.

Be careful though, your chunk definition should have the property
that changes naturally fall within chunks, not across chunk boundaries.
GeneralRe: 'diff' algorithm Pin
moliate25-Nov-02 8:58
moliate25-Nov-02 8:58 
Generalextracting dialog box to use in other program Pin
IrishSonic22-Nov-02 13:36
IrishSonic22-Nov-02 13:36 
GeneralRe: extracting dialog box to use in other program Pin
Christian Graus22-Nov-02 14:01
protectorChristian Graus22-Nov-02 14:01 
GeneralRe: extracting dialog box to use in other program Pin
IrishSonic22-Nov-02 14:12
IrishSonic22-Nov-02 14:12 
GeneralRe: extracting dialog box to use in other program Pin
Christian Graus22-Nov-02 14:14
protectorChristian Graus22-Nov-02 14:14 
GeneralRe: extracting dialog box to use in other program Pin
IrishSonic23-Nov-02 5:37
IrishSonic23-Nov-02 5:37 
GeneralFolder Selection Dialog Pin
Dov Sherman22-Nov-02 11:06
Dov Sherman22-Nov-02 11:06 
GeneralRe: Folder Selection Dialog Pin
Alvaro Mendez22-Nov-02 11:25
Alvaro Mendez22-Nov-02 11:25 
GeneralRe: Folder Selection Dialog Pin
Dov Sherman22-Nov-02 12:50
Dov Sherman22-Nov-02 12:50 
GeneralRe: Folder Selection Dialog Pin
Alvaro Mendez22-Nov-02 14:30
Alvaro Mendez22-Nov-02 14:30 
GeneralRe: Folder Selection Dialog Pin
Dov Sherman22-Nov-02 15:50
Dov Sherman22-Nov-02 15:50 
GeneralI need a "theme-able" C++ GUI Pin
Jim Howard22-Nov-02 10:44
Jim Howard22-Nov-02 10:44 
GeneralRe: I need a "theme-able" C++ GUI Pin
Christian Graus22-Nov-02 13:35
protectorChristian Graus22-Nov-02 13:35 
GeneralMemory leak... UI Thread Pin
RobJones22-Nov-02 9:53
RobJones22-Nov-02 9:53 
GeneralRe: Memory leak... UI Thread Pin
Neville Franks22-Nov-02 10:36
Neville Franks22-Nov-02 10:36 
GeneralRe: Memory leak... UI Thread Pin
RobJones22-Nov-02 10:40
RobJones22-Nov-02 10:40 
GeneralRe: Memory leak... UI Thread Pin
Neville Franks22-Nov-02 10:48
Neville Franks22-Nov-02 10:48 

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.