+2001-01-31 Gerd Moellmann <gerd@gnu.org>
+
+ * alloc.c (Fmake_list): Add a QUIT in the loop; unroll the loop.
+
2001-01-31 Dave Love <fx@gnu.org>
* textprop.c (Fset_text_properties): Fix newline in doc string.
size = XFASTINT (length);
val = Qnil;
- while (size-- > 0)
- val = Fcons (init, val);
+ while (size > 0)
+ {
+ val = Fcons (init, val);
+ --size;
+
+ if (size > 0)
+ {
+ val = Fcons (init, val);
+ --size;
+
+ if (size > 0)
+ {
+ val = Fcons (init, val);
+ --size;
+
+ if (size > 0)
+ {
+ val = Fcons (init, val);
+ --size;
+
+ if (size > 0)
+ {
+ val = Fcons (init, val);
+ --size;
+ }
+ }
+ }
+ }
+
+ QUIT;
+ }
+
return val;
}