[Python-checkins] CVS: python/dist/src/Objects longobject.c,1.105,1.106

Tim Peters tim_one@users.sourceforge.net
2001年9月11日 16:24:24 -0700


Update of /cvsroot/python/python/dist/src/Objects
In directory usw-pr-cvs1:/tmp/cvs-serv18662/python/Objects
Modified Files:
	longobject.c 
Log Message:
long_invert(): tiny speed and space optimization.
Index: longobject.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Objects/longobject.c,v
retrieving revision 1.105
retrieving revision 1.106
diff -C2 -d -r1.105 -r1.106
*** longobject.c	2001年09月11日 22:31:33	1.105
--- longobject.c	2001年09月11日 23:24:22	1.106
***************
*** 1813,1818 ****
 	if (x == NULL)
 		return NULL;
! 	if (x->ob_size != 0)
! 		x->ob_size = -(x->ob_size);
 	return (PyObject *)x;
 }
--- 1813,1817 ----
 	if (x == NULL)
 		return NULL;
! 	x->ob_size = -(x->ob_size);
 	return (PyObject *)x;
 }

AltStyle によって変換されたページ (->オリジナル) /