Mercurial > vim
view runtime/vim16x16.xpm @ 29649:a3a966b8b7a7 v9.0.0165
patch 9.0.0165: looking up a text property type by ID is slow
Commit: https://github.com/vim/vim/commit/e44336b00a6c51bef904450a8012e4982e38ba2d
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Aug 7 18:20:08 2022 +0100
patch 9.0.0165: looking up a text property type by ID is slow
Problem: Looking up a text property type by ID is slow.
Solution: Keep an array of property types sorted on ID.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 07 Aug 2022 19:30:03 +0200 |
parents | 3fc0f57ecb91 |
children | 8f04cf65ecff |
line wrap: on
line source
/* XPM */ static char * vim16x16[] = { "16 16 8 1", " c None", ". c #000000", "+ c #000080", "@ c #008000", "# c #00FF00", "$ c #808080", "% c #C0C0C0", "& c #FFFFFF", " .....#. .... ", " .&&&&&.@.&&&&. ", " .%%%%%$..%%%%$.", " .%%%$.@.&%%$. ", " .%%%$..&%%$. ", " .%%%$.&%%$.. ", " #.%%%$&%%$.@@. ", "#@.%%%&%%$.@@@@.", ".@.%%%%%..@@@@+ ", " ..%%%%.%...@. ", " .%%%%...%%.%. ", " .%%%.%%.%%%%%.", " .%%$..%.%.%.%.", " .%$.@.%.%.%.%.", " .. .%%.%.%.%.", " .. . . . "};