Re: Searching for Fastest Way to Input a File

new topic     » goto parent     » topic index » view thread      » older message » newer message
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 1073741823 
When I corrected my example code to cater for this, I ran out of memory for large files. sad

It's actually a limit of sequences. After all, 1073741823 should be enough sequence elements for everyone!

Matt

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu