Re: Searching for Fastest Way to Input a File
- Posted by mattlewis (admin) May 15, 2014
- 2712 views
DerekParnell said...
jimcbrown said...
DerekParnell said...
nor will files with more than (power(2,31)-1) bytes long, due to a limitation in the seek() function.
Can you elaborate on this?
Sorry. I misinformed you. It is actually a problem with the repeat() function. And the limit is "power(2,30) - 1"
repetition count must not be more than 1073741823When I corrected my example code to cater for this, I ran out of memory for large files.
It's actually a limit of sequences. After all, 1073741823 should be enough sequence elements for everyone!
Matt