Mercurial > emacs
annotate lisp/gnus/uu-decode.xpm @ 38536:09aca87f88ce
Overall speedup when using many buffers.
(uniquify-fix-item-base, uniquify-fix-item-filename,
uniquify-fix-item-buffer): Changed defmacro to defalias (cosmetic change).
(uniquify-fix-item-unrationalized-buffer): Deleted: was the fourth
place in the item, but waas never used.
(uniquify-fix-item-min-proposed): New defalias: the fourth place
in the item is now used as cache for the proposed name.
(uniquify-rationalize-file-buffer-names): Move computation made on
newbuffile out of the loop, in the newbuffile-nd local var. Use
dolist (cosmetic change). Compute the proposed name for the most
common case and cache it in the fourth place in the item.
(uniquify-rationalize-file-buffer-names): Used to return a list
of flags indicating renamed buffers, but that return value was
never used.
(uniquify-item-lessp): Replaces uniquify-filename-lessp, works on
the cached proposed name, does much less consing and is quicker.
(uniquify-filename-lessp): Deleted.
(uniquify-rationalize-a-list): Use dolist (cosmetic change). Do
not bind locally the uniquify-possibly-resolvable flag. Use the
cached proposed name if possible.
(uniquify-get-proposed-name): Arguments changed, callers changed.
(uniquify-rationalize-conflicting-sublist): Explicitely reset the
uniquify-possibly-resolvable flag, which is no more bound locally.
(uniquify-rename-buffer): Do not set the unrationalised-buffer
flag, which is replaced by the cached proposed name.
author | Francesco Potortì <pot@gnu.org> |
---|---|
date | Tue, 24 Jul 2001 10:39:09 +0000 |
parents | 354a5b33d058 |
children | 55fd4f77387a |
rev | line source |
---|---|
33308 | 1 /* XPM */ |
34675 | 2 static char *magick[] = { |
3 /* columns rows colors chars-per-pixel */ | |
4 "24 24 18 1", | |
5 " c #2fef2fef2fef", | |
6 ". c #3fff3fff3fff", | |
7 "X c #4ccc4ccc4ccc", | |
8 "o c #53e353e353e3", | |
9 "O c #566656665666", | |
10 "+ c #5fe35fe35fe3", | |
11 "@ c Gray45", | |
12 "# c #77d777d777d7", | |
13 "$ c Gray50", | |
14 "% c #866586658665", | |
15 "& c Gray56", | |
16 "* c Gray60", | |
17 "= c #9fff9fff9fff", | |
18 "- c Gray75", | |
19 "; c Gray81", | |
20 ": c #dfffdfffdfff", | |
21 "> c #efffefffefff", | |
22 ", c Gray100", | |
23 /* pixels */ | |
24 "------------------------", | |
25 "------------------------", | |
26 "------------------------", | |
27 "------------------------", | |
28 "-----#+++++++++++++&----", | |
29 "----- @@@@@@@@@@@@O+----", | |
30 "----- *%@@@@@@@@@&@+----", | |
31 "----- *X+$$$$$$$.@@+----", | |
32 "----- *X-,,,,,,,$@@+----", | |
33 "----- *X-,,;,,,,$@@+----", | |
34 "----- *X-:$$$-=,$@@+----", | |
35 "----- *X-+-+-$=,$@@+----", | |
36 "----- *X->$;;,,,$@@+----", | |
37 "----- *X--.$.,,,$@@+----", | |
38 "----- *X->--==,,$@@+----", | |
39 "----- *X-,,,,=;,$@@+----", | |
40 "----- *X-,,,,,,,$@@+----", | |
41 "----- *X-,,,,,,,$@@+----", | |
42 "----- *X&-------+@@+----", | |
43 "----- *@XXXXXXXXX%@+----", | |
44 "----- ************@+----", | |
45 "-----o #----", | |
46 "------------------------", | |
47 "------------------------" | |
48 }; |