Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Re: Re: Data structure challengeby ambrus (Abbot) |
on Mar 18, 2004 at 15:57 UTC ( [id://337714]=note: print w/replies, xml ) | Need Help?? |
Update: this is stupid, see BrowserUk's reply on why. I would not think this is constant time. I know nothing about how spares files are implemented, but I would not think it is such that you can access any byte in constant time. (If the filesystem does not have sparse files, the situation is even worse, as the os must fill the file with zero bytes when seeking past end.)
In Section
Meditations
|
|