Re: Images & RAM consumption [was: Is SM2 mail a slug...]

Felix Miata <[email protected]>
Newsgroups gmane.comp.mozilla.devel.dom
Organization less than infinite
Message-ID <[email protected]>
On 2009/12/18 22:17 (GMT+0100) Oliver Kluge composed:

> Ilya Zakharevich wrote:

>>> Are you implying that FF stores image objects uncompressed?

>> ???  Do you know ANY graphic program which does otherwise?

> FF is no "graphics program". The only reason why graphics programs store 
> images uncompressed is that it is necessary for manipulation.

> FF just displays images and it doesn't make any sense to decode all 
> images to uncompressed and keep them in memory uncompressed

I'm no programmer, but over many years of Mozilla development I've spent a
lot of time hanging out in the core Moz devs IRC channels, and have been able
to comprehend quite a bit of their discussion. IIUC, Ilya is right about this
- though it seems to make no sense to an core dev outsider, image files are
just DOM objects converted on load to an internal format used by the DOM, and
grow immensely during the conversion.
-- 
"   We have no government armed with power capable of
contending with human passions unbridled by morality and
religion."                  John Adams, 2nd US President

 Team OS/2 ** Reg. Linux User #211409

Felix Miata  ***  http://fm.no-ip.com/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.