[Python-checkins] python/dist/src/Lib pickletools.py,1.2,1.3

tim_one@users.sourceforge.net tim_one@users.sourceforge.net
2003年1月27日 11:38:41 -0800


Update of /cvsroot/python/python/dist/src/Lib
In directory sc8-pr-cvs1:/tmp/cvs-serv5690/python/Lib
Modified Files:
	pickletools.py 
Log Message:
Repaired comment.
Index: pickletools.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/pickletools.py,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** pickletools.py	27 Jan 2003 19:01:47 -0000	1.2
--- pickletools.py	27 Jan 2003 19:38:34 -0000	1.3
***************
*** 71,76 ****
 pickle opcodes never go away, not even when better ways to do a thing
 get invented. The repertoire of the PM just keeps growing over time.
! So, e.g., there are now six distinct opcodes for building a Python integer,
! five of them devoted to "short" integers. Even so, the only way to pickle
 a Python long int takes time quadratic in the number of digits, for both
 pickling and unpickling. This isn't so much a subtlety as a source of
--- 71,76 ----
 pickle opcodes never go away, not even when better ways to do a thing
 get invented. The repertoire of the PM just keeps growing over time.
! So, e.g., there are now five distinct opcodes for building a Python integer,
! four of them devoted to "short" integers. Even so, the only way to pickle
 a Python long int takes time quadratic in the number of digits, for both
 pickling and unpickling. This isn't so much a subtlety as a source of

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