[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: |
Mon, 09 Feb 2015 15:12:19 +1100 |
User-agent: |
Gnus/5.130012 (Ma Gnus v0.12) Emacs/25.0.50 (gnu/linux) |
Eli Zaretskii <address@hidden> writes:
> I think I can make it faster if we add an additional optional argument
> that tells vertical-motion the X coordinate at point. vertical-motion
> invests a lot of cycles in finding a place whose X coordinate is
> known, so providing that for its starting point will avoid all that
> effort. Will this help you, i.e. can you provide such a value with
> each call?
Sure, I would normally call `vertical-motion' from `beginning-of-line'
(that is, I'm currently calling it from the first character on the line,
because that's faster), so I could pass in 0 as the X coordinate.
--
(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/07
- Re: Pixel-based display functions, Lars Ingebrigtsen, 2015/02/07
- Re: Pixel-based display functions, Lars Ingebrigtsen, 2015/02/07
- Re: Pixel-based display functions, Eli Zaretskii, 2015/02/07
- Re: Pixel-based display functions, Lars Ingebrigtsen, 2015/02/07
- Re: Pixel-based display functions, Eli Zaretskii, 2015/02/08
- Re: Pixel-based display functions,
Lars Ingebrigtsen <=
- 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, 2015/02/11
- Re: Pixel-based display functions, Eli Zaretskii, 2015/02/11