annotate lisp/toolbar/saveas.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 */
f115e74e9dd1 New. (Gnome icon by tigert.)
Dave Love <fx@gnu.org>
parents:
diff changeset
2 static char *magick[] = {
f115e74e9dd1 New. (Gnome icon by tigert.)
Dave Love <fx@gnu.org>
parents:
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 5 1",
8f4a34146a9d Reduce to max. 8 colors (mogrify -colorspace transparent -colors 8).
Gerd Moellmann <gerd@gnu.org>
parents: 32389
diff changeset
5 " c #01be01be01be",
8f4a34146a9d Reduce to max. 8 colors (mogrify -colorspace transparent -colors 8).
Gerd Moellmann <gerd@gnu.org>
parents: 32389
diff changeset
6 ". c #62dd62dd62dd",
8f4a34146a9d Reduce to max. 8 colors (mogrify -colorspace transparent -colors 8).
Gerd Moellmann <gerd@gnu.org>
parents: 32389
diff changeset
7 "X c Gray62",
8f4a34146a9d Reduce to max. 8 colors (mogrify -colorspace transparent -colors 8).
Gerd Moellmann <gerd@gnu.org>
parents: 32389
diff changeset
8 "o c #e625e625e625",
8f4a34146a9d Reduce to max. 8 colors (mogrify -colorspace transparent -colors 8).
Gerd Moellmann <gerd@gnu.org>
parents: 32389
diff changeset
9 "O c None",
31591
f115e74e9dd1 New. (Gnome icon by tigert.)
Dave Love <fx@gnu.org>
parents:
diff changeset
10 /* pixels */
32452
8f4a34146a9d Reduce to max. 8 colors (mogrify -colorspace transparent -colors 8).
Gerd Moellmann <gerd@gnu.org>
parents: 32389
diff changeset
11 "OOOOOOOOOOOOOOOOOOOOOOOO",
8f4a34146a9d Reduce to max. 8 colors (mogrify -colorspace transparent -colors 8).
Gerd Moellmann <gerd@gnu.org>
parents: 32389
diff changeset
12 "OOOOOOOOOOOOOOOOOOOOOOOO",
8f4a34146a9d Reduce to max. 8 colors (mogrify -colorspace transparent -colors 8).
Gerd Moellmann <gerd@gnu.org>
parents: 32389
diff changeset
13 "OOOOOOOOOOOOOOOOOOO OOOO",
8f4a34146a9d Reduce to max. 8 colors (mogrify -colorspace transparent -colors 8).
Gerd Moellmann <gerd@gnu.org>
parents: 32389
diff changeset
14 "OOOOOOOOOOOOOOOOOO X OOO",
8f4a34146a9d Reduce to max. 8 colors (mogrify -colorspace transparent -colors 8).
Gerd Moellmann <gerd@gnu.org>
parents: 32389
diff changeset
15 "OOOOOOOOOOOOO OO X. OOO",
8f4a34146a9d Reduce to max. 8 colors (mogrify -colorspace transparent -colors 8).
Gerd Moellmann <gerd@gnu.org>
parents: 32389
diff changeset
16 "OOOOOOOOOOO X. X. OOOO",
8f4a34146a9d Reduce to max. 8 colors (mogrify -colorspace transparent -colors 8).
Gerd Moellmann <gerd@gnu.org>
parents: 32389
diff changeset
17 "OOOOOOOOO oXoX X. OOOOO",
8f4a34146a9d Reduce to max. 8 colors (mogrify -colorspace transparent -colors 8).
Gerd Moellmann <gerd@gnu.org>
parents: 32389
diff changeset
18 "OOOOOOO oXoOo X. OOOOOO",
8f4a34146a9d Reduce to max. 8 colors (mogrify -colorspace transparent -colors 8).
Gerd Moellmann <gerd@gnu.org>
parents: 32389
diff changeset
19 "OOOOO oXoOoO X. OOOOOOO",
8f4a34146a9d Reduce to max. 8 colors (mogrify -colorspace transparent -colors 8).
Gerd Moellmann <gerd@gnu.org>
parents: 32389
diff changeset
20 "OOO XooOOoO X. OOOOOO",
8f4a34146a9d Reduce to max. 8 colors (mogrify -colorspace transparent -colors 8).
Gerd Moellmann <gerd@gnu.org>
parents: 32389
diff changeset
21 "OO XooOoXoO X. oX OOOOOO",
8f4a34146a9d Reduce to max. 8 colors (mogrify -colorspace transparent -colors 8).
Gerd Moellmann <gerd@gnu.org>
parents: 32389
diff changeset
22 "OO .XooXoO X. OoX. OOOOO",
8f4a34146a9d Reduce to max. 8 colors (mogrify -colorspace transparent -colors 8).
Gerd Moellmann <gerd@gnu.org>
parents: 32389
diff changeset
23 "OOO XooXOX. ooXXX OOOOO",
8f4a34146a9d Reduce to max. 8 colors (mogrify -colorspace transparent -colors 8).
Gerd Moellmann <gerd@gnu.org>
parents: 32389
diff changeset
24 "OOO .XoOX ooXX..X. OOOO",
8f4a34146a9d Reduce to max. 8 colors (mogrify -colorspace transparent -colors 8).
Gerd Moellmann <gerd@gnu.org>
parents: 32389
diff changeset
25 "OOOO XoOXooXX...X.X OOOO",
8f4a34146a9d Reduce to max. 8 colors (mogrify -colorspace transparent -colors 8).
Gerd Moellmann <gerd@gnu.org>
parents: 32389
diff changeset
26 "OOOO .XooXX.Xoo.X.X. OOO",
8f4a34146a9d Reduce to max. 8 colors (mogrify -colorspace transparent -colors 8).
Gerd Moellmann <gerd@gnu.org>
parents: 32389
diff changeset
27 "OOOOO XXX.oooooX.X. OOO",
8f4a34146a9d Reduce to max. 8 colors (mogrify -colorspace transparent -colors 8).
Gerd Moellmann <gerd@gnu.org>
parents: 32389
diff changeset
28 "OOOOO .XXoo.ooooXX OOO",
8f4a34146a9d Reduce to max. 8 colors (mogrify -colorspace transparent -colors 8).
Gerd Moellmann <gerd@gnu.org>
parents: 32389
diff changeset
29 "OOOOOO XX.o XooX. OOOOO",
8f4a34146a9d Reduce to max. 8 colors (mogrify -colorspace transparent -colors 8).
Gerd Moellmann <gerd@gnu.org>
parents: 32389
diff changeset
30 "OOOOOO .XXooXoX OOOOOOO",
8f4a34146a9d Reduce to max. 8 colors (mogrify -colorspace transparent -colors 8).
Gerd Moellmann <gerd@gnu.org>
parents: 32389
diff changeset
31 "OOOOOOO .X.oX OOOOOOOOO",
8f4a34146a9d Reduce to max. 8 colors (mogrify -colorspace transparent -colors 8).
Gerd Moellmann <gerd@gnu.org>
parents: 32389
diff changeset
32 "OOOOOOOO OOOOOOOOOOO",
8f4a34146a9d Reduce to max. 8 colors (mogrify -colorspace transparent -colors 8).
Gerd Moellmann <gerd@gnu.org>
parents: 32389
diff changeset
33 "OOOOOOOOOOOOOOOOOOOOOOOO",
8f4a34146a9d Reduce to max. 8 colors (mogrify -colorspace transparent -colors 8).
Gerd Moellmann <gerd@gnu.org>
parents: 32389
diff changeset
34 "OOOOOOOOOOOOOOOOOOOOOOOO"
31591
f115e74e9dd1 New. (Gnome icon by tigert.)
Dave Love <fx@gnu.org>
parents:
diff changeset
35 };