Original Post
🔒 Locked
efficiently processing large text?
Advertisement
have you thought about using a Database like Access ??
if not, try win32 filemapping, there is a tutorial on flipcode about this
if not, try win32 filemapping, there is a tutorial on flipcode about this
What do you mean by processing? This is an honest question
Sort the words? Parse the file, like a browser would parse a html file? Efficient reading or lines? Search for text in text?
---------------------------
I may be getting older, but I refuse to grow up
Sort the words? Parse the file, like a browser would parse a html file? Efficient reading or lines? Search for text in text?
---------------------------
I may be getting older, but I refuse to grow up
That all depends upon which language you want to use, and what you mean by quickly.
If by quickly you mean quickly write code that parses text, then the best way to go is using regular expressions (a search on google should turn up plenty of results, and O''Reilly publishes a great book on them called "Mastering Regular Expressions"), and a language that is setup for handling text.
Perl would be my fist preference for handling text, but there are plenty of alternatives. There are even some regular expression libraries for C and C++ for free download.
-- Aaron
| HollowWorks.com | Rhott.com |
If by quickly you mean quickly write code that parses text, then the best way to go is using regular expressions (a search on google should turn up plenty of results, and O''Reilly publishes a great book on them called "Mastering Regular Expressions"), and a language that is setup for handling text.
Perl would be my fist preference for handling text, but there are plenty of alternatives. There are even some regular expression libraries for C and C++ for free download.
-- Aaron
| HollowWorks.com | Rhott.com |
Topic Locked
This topic has been locked by a moderator. New replies are not allowed.
Sign in to reply to this topic.
Advertisement