António José (ajose) wrote,
António José

  • Mood:

Clever me!.....

If you have already a string with the file contents, to have a sub string is just to store it's start address and respective length....

You don't have to allocate space to store that sub string (again)!
Mainly because the initial string is not going to be changed, anyway!....

Why did it took a while to realize it?
Must be because I'm clever, no doubt about it! ;-))))

  • Post a new comment


    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded