annotate lisp/toolbar/copy.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 8f4a34146a9d
children 734ff40978ad
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
31591
f115e74e9dd1 New. (Gnome icon by tigert.)
Dave Love <fx@gnu.org>
parents:
diff changeset
1 /* XPM */
32389
03a8b6779868 Reduce colour requirements to 25 overall. (Probably wants
Dave Love <fx@gnu.org>
parents: 31591
diff changeset
2 static char *magick[] = {
03a8b6779868 Reduce colour requirements to 25 overall. (Probably wants
Dave Love <fx@gnu.org>
parents: 31591
diff changeset
3 /* columns rows colors chars-per-pixel */
32452
8f4a34146a9d Reduce to max. 8 colors (mogrify -colorspace transparent -colors 8).
Gerd Moellmann <gerd@gnu.org>
parents: 32389
diff changeset
4 "24 24 7 1",
8f4a34146a9d Reduce to max. 8 colors (mogrify -colorspace transparent -colors 8).
Gerd Moellmann <gerd@gnu.org>
parents: 32389
diff changeset
5 " c Gray0",
8f4a34146a9d Reduce to max. 8 colors (mogrify -colorspace transparent -colors 8).
Gerd Moellmann <gerd@gnu.org>
parents: 32389
diff changeset
6 ". c #424242423a3a",
8f4a34146a9d Reduce to max. 8 colors (mogrify -colorspace transparent -colors 8).
Gerd Moellmann <gerd@gnu.org>
parents: 32389
diff changeset
7 "X c #68e968e96363",
8f4a34146a9d Reduce to max. 8 colors (mogrify -colorspace transparent -colors 8).
Gerd Moellmann <gerd@gnu.org>
parents: 32389
diff changeset
8 "o c #a8b1a8b1992b",
8f4a34146a9d Reduce to max. 8 colors (mogrify -colorspace transparent -colors 8).
Gerd Moellmann <gerd@gnu.org>
parents: 32389
diff changeset
9 "O c #d3d3d3d3bdbd",
8f4a34146a9d Reduce to max. 8 colors (mogrify -colorspace transparent -colors 8).
Gerd Moellmann <gerd@gnu.org>
parents: 32389
diff changeset
10 "+ c #e419e419cd6b",
8f4a34146a9d Reduce to max. 8 colors (mogrify -colorspace transparent -colors 8).
Gerd Moellmann <gerd@gnu.org>
parents: 32389
diff changeset
11 "@ c None",
32389
03a8b6779868 Reduce colour requirements to 25 overall. (Probably wants
Dave Love <fx@gnu.org>
parents: 31591
diff changeset
12 /* pixels */
32452
8f4a34146a9d Reduce to max. 8 colors (mogrify -colorspace transparent -colors 8).
Gerd Moellmann <gerd@gnu.org>
parents: 32389
diff changeset
13 "@@@@@@@@@@@@@@@@@@@@@@@@",
8f4a34146a9d Reduce to max. 8 colors (mogrify -colorspace transparent -colors 8).
Gerd Moellmann <gerd@gnu.org>
parents: 32389
diff changeset
14 "@@@@@@@@@@@@@@@@@@@@@@@@",
8f4a34146a9d Reduce to max. 8 colors (mogrify -colorspace transparent -colors 8).
Gerd Moellmann <gerd@gnu.org>
parents: 32389
diff changeset
15 "@@@@@@@@@@@@@@@@@@@@@@@@",
8f4a34146a9d Reduce to max. 8 colors (mogrify -colorspace transparent -colors 8).
Gerd Moellmann <gerd@gnu.org>
parents: 32389
diff changeset
16 "@@@@@@@@@@@@@@@@@@@@@@@@",
8f4a34146a9d Reduce to max. 8 colors (mogrify -colorspace transparent -colors 8).
Gerd Moellmann <gerd@gnu.org>
parents: 32389
diff changeset
17 "@@@@@@@@@@@@@@@@@@@@@@@@",
8f4a34146a9d Reduce to max. 8 colors (mogrify -colorspace transparent -colors 8).
Gerd Moellmann <gerd@gnu.org>
parents: 32389
diff changeset
18 "@@@@@@@@ @@@@@@@@@@@@@@",
8f4a34146a9d Reduce to max. 8 colors (mogrify -colorspace transparent -colors 8).
Gerd Moellmann <gerd@gnu.org>
parents: 32389
diff changeset
19 "@@@@@@ Oo @@@@@@@@@@@@@",
8f4a34146a9d Reduce to max. 8 colors (mogrify -colorspace transparent -colors 8).
Gerd Moellmann <gerd@gnu.org>
parents: 32389
diff changeset
20 "@@@@ .ooOO @@@@ @@@@@@@",
8f4a34146a9d Reduce to max. 8 colors (mogrify -colorspace transparent -colors 8).
Gerd Moellmann <gerd@gnu.org>
parents: 32389
diff changeset
21 "@@@@ +XoOOo @ Oo @@@@@@",
8f4a34146a9d Reduce to max. 8 colors (mogrify -colorspace transparent -colors 8).
Gerd Moellmann <gerd@gnu.org>
parents: 32389
diff changeset
22 "@@@@ +.oO++ .ooOO @@@@@@",
8f4a34146a9d Reduce to max. 8 colors (mogrify -colorspace transparent -colors 8).
Gerd Moellmann <gerd@gnu.org>
parents: 32389
diff changeset
23 "@@@@ XoO+++ +XoOOo @@@@@",
8f4a34146a9d Reduce to max. 8 colors (mogrify -colorspace transparent -colors 8).
Gerd Moellmann <gerd@gnu.org>
parents: 32389
diff changeset
24 "@@@@ oOO+++ +.oO++ @@@@@",
8f4a34146a9d Reduce to max. 8 colors (mogrify -colorspace transparent -colors 8).
Gerd Moellmann <gerd@gnu.org>
parents: 32389
diff changeset
25 "@@@@ oO++++ XoOO++o @@@@",
8f4a34146a9d Reduce to max. 8 colors (mogrify -colorspace transparent -colors 8).
Gerd Moellmann <gerd@gnu.org>
parents: 32389
diff changeset
26 "@@@@@ +++++ oOO++++o @@@",
8f4a34146a9d Reduce to max. 8 colors (mogrify -colorspace transparent -colors 8).
Gerd Moellmann <gerd@gnu.org>
parents: 32389
diff changeset
27 "@@@@@ o++++ oO++++++ @@@",
8f4a34146a9d Reduce to max. 8 colors (mogrify -colorspace transparent -colors 8).
Gerd Moellmann <gerd@gnu.org>
parents: 32389
diff changeset
28 "@@@@@@ ++o +++++++o @@",
8f4a34146a9d Reduce to max. 8 colors (mogrify -colorspace transparent -colors 8).
Gerd Moellmann <gerd@gnu.org>
parents: 32389
diff changeset
29 "@@@@@@ o @@ o++++o @@@",
8f4a34146a9d Reduce to max. 8 colors (mogrify -colorspace transparent -colors 8).
Gerd Moellmann <gerd@gnu.org>
parents: 32389
diff changeset
30 "@@@@@@@ @@@@@ ++o @@@@@",
8f4a34146a9d Reduce to max. 8 colors (mogrify -colorspace transparent -colors 8).
Gerd Moellmann <gerd@gnu.org>
parents: 32389
diff changeset
31 "@@@@@@@@@@ @@ o @@@@@@@",
8f4a34146a9d Reduce to max. 8 colors (mogrify -colorspace transparent -colors 8).
Gerd Moellmann <gerd@gnu.org>
parents: 32389
diff changeset
32 "@@@@@@@ @@ @@@@@@@@@",
8f4a34146a9d Reduce to max. 8 colors (mogrify -colorspace transparent -colors 8).
Gerd Moellmann <gerd@gnu.org>
parents: 32389
diff changeset
33 "@@@@@@@ @@@@@@@@@@@@",
8f4a34146a9d Reduce to max. 8 colors (mogrify -colorspace transparent -colors 8).
Gerd Moellmann <gerd@gnu.org>
parents: 32389
diff changeset
34 "@@@@@@@@@@ @@@@@@@@@@@@@",
8f4a34146a9d Reduce to max. 8 colors (mogrify -colorspace transparent -colors 8).
Gerd Moellmann <gerd@gnu.org>
parents: 32389
diff changeset
35 "@@@@@@@@@@@@@@@@@@@@@@@@",
8f4a34146a9d Reduce to max. 8 colors (mogrify -colorspace transparent -colors 8).
Gerd Moellmann <gerd@gnu.org>
parents: 32389
diff changeset
36 "@@@@@@@@@@@@@@@@@@@@@@@@"
32389
03a8b6779868 Reduce colour requirements to 25 overall. (Probably wants
Dave Love <fx@gnu.org>
parents: 31591
diff changeset
37 };