Jump to content




File seeking


  • You cannot reply to this topic
2 replies to this topic

#1 ElvishJerricco

  • Members
  • 803 posts

Posted 18 December 2014 - 03:58 PM

It's a pretty fundamental file IO function. I don't see why we don't already have it.

#2 MKlegoman357

  • Members
  • 1,170 posts
  • LocationKaunas, Lithuania

Posted 18 December 2014 - 04:38 PM

So basically more control over what we can do with file handles. Although yes, you could do this if you'd like by saving the file to a table and all but having this feature in-built would be really nice. But I wonder how the file handles might be changed by adding this feature.

#3 ElvishJerricco

  • Members
  • 803 posts

Posted 18 December 2014 - 07:04 PM

View PostMKlegoman357, on 18 December 2014 - 04:38 PM, said:

So basically more control over what we can do with file handles. Although yes, you could do this if you'd like by saving the file to a table and all but having this feature in-built would be really nice. But I wonder how the file handles might be changed by adding this feature.

Well saving a file to a table is a bad idea I think. When dealing with large files that's not how you want to do it. For example, Grin's zip library has to hold the entire zip file in memory, when it should just be seeking to requested files as they're requested.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users