[Tutor] Load Entire File into memory
Steven D'Aprano
steve at pearwood.info
Tue Nov 5 17:30:01 CET 2013
On Tue, Nov 05, 2013 at 04:12:51PM +0000, Alan Gauld wrote:
> On 05/11/13 02:02, Danny Yoo wrote:
>
> >To visualize the sheer scale of the problem, see:
> >
> >http://i.imgur.com/X1Hi1.gif
> >
> >which would normally be funny, except that it's not quite a joke. :P
>
> I think I'm missing something. All I see in Firefox is
> a vertical red bar. And in Chrome I don't even get that,
> just a blank screen...
Can't speak for Chrome, sounds like a bug. But Firefox defaults to
scaling pictures to fit within the window. If you mouse over the image,
you'll get a magnifying glass pointer. Click on the image, and it will
redisplay at full size. Scroll to the very top, and you will find a
little bit of text, a single red pixel representing the latency of cache
memory, a dozen or so red pixels representing the latency of RAM, and a
monsterously huge block of thousands and thousands and thousands of red
pixels representing the latency of hard drives.
Feel free to scroll and count the pixels :-)
--
Steven
More information about the Tutor
mailing list