[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: pages with many images slow
- From: Katsumi Yamaoka <yamaoka@xxxxxxx>
- Date: Tue, 27 Jan 2009 09:10:24 +0900
- X-ml-name: emacs-w3m
- X-mail-count: 10640
- References: <87hc4d1yx4.fsf@xxxxxxxxxxx> <871vutozvb.fsf@xxxxxxxxxxxxxxxx> <b4mvds2bvpw.fsf@xxxxxxx> <87mydelbxf.fsf@xxxxxxxxxxxxxxxx> <b4mr62qigu1.fsf@xxxxxxx> <87ocxuja5o.fsf@xxxxxxxxxxxxxxxx>
>>>>> In [emacs-w3m : No.10639] Naohiro Aota wrote:
(B> Katsumi Yamaoka <yamaoka@xxxxxxx> writes:
(B>> IIUC, the main thing that slows displaying images is retrieving of
(B>> image data from remote sites. Isn't it better not to use the
(B>> idle-timer for cached images (including cid image data embedded in
(B>> html articles)?
(B> To be exact, emacs-w3m waits for retrieving process creating or image
(B> size conversion (if cached and need to resize).
(B> Anyway, I changed the code to use the idle-timer system only when
(B> all the following conditions are met.
(B> 1. the image is remote one
(B> 2. emacs-w3m doesn't have cache of the image
(B> 3. emacs-w3m doesn't need to resize the image
(B> Now, I think the code is good enough to be tested in emacs-w3m CVS. If
(B> there is no objection, I'll commit the code in the CVS.
(BPlease go ahead. I believe it reached the level worth being used
(Bby people. Thank you very much for the remarkable improvement!
(B> ;; Is it better to make `w3m-process-stop' to call
(B> ;; `w3m-idle-images-show-unqueue'?
(BAgreed. It's much better to do so, I think.
(BBTW, when pressing the T key, the order of images re-displaying
(Bin a page (containing many images, like asahi.com) differs from
(Bthat of the unpatched w3m.el. While the unpatched w3m.el seems
(Bto start re-displaying of images from the top of a page, the
(Bpatched one seems to do it from the bottom of a page. It might
(Bgive a user an impression that emacs-w3m does nothing for a while
(B(if she/he is looking at the top of a page). Though it might be
(Bhard to achieve, it will be better to start it from images that
(Bare currently visible in a page.