[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Pixel-based display functions
From: |
Lars Ingebrigtsen |
Subject: |
Re: Pixel-based display functions |
Date: |
Wed, 11 Feb 2015 16:31:11 +1100 |
User-agent: |
Gnus/5.130012 (Ma Gnus v0.12) Emacs/25.0.50 (gnu/linux) |
Eli Zaretskii <address@hidden> writes:
> Well, you insert those lines into the buffer yourself, right? Can you
> find the longest line while you are at it, and insert only it?
> AFAICS, that's the only way of making window-text-pixel-size do its
> job faster: by making the region FROM..TO it needs to traverse
> smaller.
Well, I don't know how long the line is (in pixels) in the first
place. Only calling `window-text-pixel-size' will tell me, right?
There's once special case I do know the width of the <td> element, and
that's when the only element in the <td> is another <table>. I already
know the width of that table, to I wouldn't really have to recompute the
width again.
It's not an unusual case, but I don't think there would be much of a
speed up in total, though.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog http://lars.ingebrigtsen.no/
- Re: Pixel-based display functions, (continued)
- Re: Pixel-based display functions, Eli Zaretskii, 2015/02/08
- Re: Pixel-based display functions, Lars Ingebrigtsen, 2015/02/08
- Re: Pixel-based display functions, Eli Zaretskii, 2015/02/09
- Re: Pixel-based display functions, Lars Ingebrigtsen, 2015/02/09
- Re: Pixel-based display functions, Lars Ingebrigtsen, 2015/02/10
- Re: Pixel-based display functions, Lars Ingebrigtsen, 2015/02/10
- Re: Pixel-based display functions, Lars Ingebrigtsen, 2015/02/10
- Re: Pixel-based display functions, Eli Zaretskii, 2015/02/10
- Re: Pixel-based display functions, Lars Ingebrigtsen, 2015/02/11
- Re: Pixel-based display functions, Eli Zaretskii, 2015/02/10
- Re: Pixel-based display functions,
Lars Ingebrigtsen <=
- Re: Pixel-based display functions, Eli Zaretskii, 2015/02/11
- Re: Pixel-based display functions, Lars Ingebrigtsen, 2015/02/17
- Re: Pixel-based display functions, Eli Zaretskii, 2015/02/17
- Re: Pixel-based display functions, Stefan Monnier, 2015/02/18
- Re: Pixel-based display functions, Eli Zaretskii, 2015/02/18
- Re: Pixel-based display functions, Lars Ingebrigtsen, 2015/02/19
- Re: Pixel-based display functions, Stefan Monnier, 2015/02/06
- Re: Pixel-based display functions, Eli Zaretskii, 2015/02/06
- Re: Pixel-based display functions, martin rudalics, 2015/02/01
- Re: Pixel-based display functions, Lars Ingebrigtsen, 2015/02/02