"Dialtone" <dialtone#NOSPAM#.> schrieb im Newsbeitrag
news:...
> (Tony C) writes:
>
[...]
> > st="X" * 1048576
> > fh=open("junk","wb")
> > fh.write(st)
> > fh.close()
>
> For little files (less than 2 or 3 Mb I think) your code is the
> fastest I can think of. But growing There is a new version which is a
> lot faster
All this is valid in a very limited scope only.
- Consider limited RAM (lets say 128 MB) - you will be extremely slowed down
by thrashing.
- Consider on-the-fly compression (Windows NTFS): The 1000 MB testdate will
be reduced to 1 Byte!
Kindly
Michael P