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

  • 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! ;-))))
Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 0 comments