CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 15 of 17

Threaded View

  1. #6
    Join Date
    Jun 2008
    Posts
    2,477

    Re: Help parsing gigantic text files (64 MB+ )

    Quote Originally Posted by DeepT View Post
    I am not changing the string, it is immutable. I am reading, not writing.

    Yes, Textpad is C++. However I am sure notepad is also C++. Notepad is slow, TextPad is fast.
    You may very well be creating many temporary strings while searching though. You are not changing the data you are looking at, but that does not mean that you are not creating strings in your code. Also, you may not realize that the library functions that you are using are also creating new string objects.
    Last edited by BigEd781; July 23rd, 2009 at 01:35 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured