Mercurial > vim
view runtime/macros/urm/urm @ 17510:a5427e35d0fb v8.1.1753
patch 8.1.1753: use of popup window mask is inefficient
commit https://github.com/vim/vim/commit/e865dcbce1ea2fcdc172b7d47d320cd40f91b917
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Jul 26 22:15:50 2019 +0200
patch 8.1.1753: use of popup window mask is inefficient
Problem: Use of popup window mask is inefficient.
Solution: Precompute and cache the mask.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Fri, 26 Jul 2019 22:30:07 +0200 |
parents | 3fc0f57ecb91 |
children |
line wrap: on
line source
>0 >3 >4 >0 >0 >0 (a4;a5;s2)2; ((a2;s4)4; s3; (a1;a4;s5)5; (a5;s1)1)3. _________ O ; =xp ( =x%hp ) @l a @db s @dt . =x0xkdd:ready _end_ o 0 1 2 3 4 5 6 7 8 9 0 _________ INIT main(k), l, b, c, t, u, q, d "kT "lT "bT "cT "tT "uT "qT "dT =lF'wa/O fpaw"zdt hp@z0"xD@x@k =2ldwhp'wiGT'wp0P0"yD@ya =xlwP >0 =x%p I k/>0 ww"ydt 0D@y 'wa/o fwF'wpi`ar`aF'wffp0"vD@v0"vDp03x@v'wa @c 0 0 0I f0w"wdt 0D@w `ahmaF'wa 'aa1 > @b 0p0f>w"vdt 0D@v 'wa/o wfbF'wpi`ar`aF'wffp0"vD@v0"vDp03x@v'wa @u 9 0 0I f9w"wdt 0D@w `ahmaF'wa `alr0 > @q 0p0f>w"vdt 0D@v `ahy2l'wa `ax >1 @t 0p0/>1 ww"idt 0D@i =xwhpbldwhp'wpaG$ma0"yD@y@