Click here to Skip to main content
15,889,462 members
Home / Discussions / C#
   

C#

 
GeneralRe: using API in C# Pin
nthevu4-May-04 5:15
professionalnthevu4-May-04 5:15 
GeneralRe: using API in C# Pin
Heath Stewart4-May-04 8:00
protectorHeath Stewart4-May-04 8:00 
GeneralRe: using API in C# Pin
nthevu4-May-04 18:18
professionalnthevu4-May-04 18:18 
GeneralAbout WebServer Pin
Moon Boy3-May-04 13:24
Moon Boy3-May-04 13:24 
GeneralRe: About WebServer Pin
TigerNinja_3-May-04 17:39
TigerNinja_3-May-04 17:39 
GeneralRe: About WebServer Pin
Heath Stewart4-May-04 3:40
protectorHeath Stewart4-May-04 3:40 
GeneralHuge Inout problem Pin
yomna-eltawil3-May-04 13:28
yomna-eltawil3-May-04 13:28 
GeneralRe: Huge Inout problem Pin
Heath Stewart4-May-04 3:38
protectorHeath Stewart4-May-04 3:38 
If the algorithm requires that the whole file be read in (and frankly, I've never seen such an algorithm but it's true that I'm not familiar with the Boyer-Moore pattern), then you should find a new algorithm. Still, though, it may work if you buffer your file in a particular way.

Buffering the file reads in blocks at a time (commonly 4K, but it can be anything). If the algorithm allows for partial matches, for example, then you know you should keep the previous buffer (or at least part of it), read-in the next buffer, and join the two together to complete the entire match (if it does match).

 

Microsoft MVP, Visual C#
My Articles
GeneralRe: Huge Inout problem Pin
leppie4-May-04 6:59
leppie4-May-04 6:59 
GeneralStrong-Named Assemblies Pin
Anders Molin3-May-04 12:59
professionalAnders Molin3-May-04 12:59 
GeneralRe: Strong-Named Assemblies Pin
Anders Molin3-May-04 13:09
professionalAnders Molin3-May-04 13:09 
Generalusing signcode.exe Pin
Anders Molin3-May-04 13:14
professionalAnders Molin3-May-04 13:14 
GeneralRe: using signcode.exe Pin
Nick Parker3-May-04 17:25
protectorNick Parker3-May-04 17:25 
GeneralRe: using signcode.exe Pin
Heath Stewart4-May-04 3:19
protectorHeath Stewart4-May-04 3:19 
GeneralRe: using signcode.exe Pin
Anders Molin4-May-04 4:26
professionalAnders Molin4-May-04 4:26 
GeneralRe: using signcode.exe Pin
Heath Stewart4-May-04 4:39
protectorHeath Stewart4-May-04 4:39 
GeneralRe: Strong-Named Assemblies Pin
Heath Stewart4-May-04 3:23
protectorHeath Stewart4-May-04 3:23 
Questionrectangle select portion of the screen ? Pin
Member 10574323-May-04 12:31
Member 10574323-May-04 12:31 
AnswerRe: rectangle select portion of the screen ? Pin
mookeroo4-May-04 15:02
mookeroo4-May-04 15:02 
GeneralExecuting applications Pin
Jon G3-May-04 11:59
Jon G3-May-04 11:59 
GeneralRe: Executing applications Pin
Colin Angus Mackay3-May-04 12:01
Colin Angus Mackay3-May-04 12:01 
GeneralListView and Column Margin :: C# Pin
valikac3-May-04 11:33
valikac3-May-04 11:33 
GeneralRe: ListView and Column Margin :: C# Pin
Heath Stewart4-May-04 3:32
protectorHeath Stewart4-May-04 3:32 
GeneralRe: ListView and Column Margin :: C# Pin
valikac4-May-04 3:48
valikac4-May-04 3:48 
GeneralIButtonControl Pin
K4reem3-May-04 10:57
K4reem3-May-04 10:57 

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.