Changes by Serhiy Storchaka storch...@gmail.com:
--
status: open - pending
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15522
___
___
Changes by Serhiy Storchaka storch...@gmail.com:
--
status: open - pending
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15522
___
___
abael added the comment:
do i need to fully maintain Python ?
2012/8/5 Serhiy Storchaka rep...@bugs.python.org
Changes by Serhiy Storchaka storch...@gmail.com:
--
status: open - pending
___
Python tracker rep...@bugs.python.org
R. David Murray added the comment:
We are happy that you wish to contribute; however, our policy is that
performance enhancements only go in to the newest version of Python, which
means any submitted patch must be against the 'default' branch of the Python
mercurial repository. If you wish
abael added the comment:
added my implement( with some enhancement, got better performance, at less
for my apps. ).
test result:
with small chunk of str, got double performanc,
and 111% for big chunks; it
## Util funcion for text definition:
def pf(f,n):
a=time()
for i in xrange(n):
Serhiy Storchaka added the comment:
Please port your code to Python 3.3 and compare with it. Python 3.3
implementation of str.join() already more than twice faster then Python 2.7.
Maybe your optimization will have no effect.
--
nosy: +storchaka
New submission from abael:
Python-2.7.3/Objects/stringobject.c( SHA256SUM
ad7795c75e2a25247e4dea4cc5327c225c4da03b7c7d57226c817ba6d12a316c)
static PyObject *string_join(PyStringObject *self, PyObject *orig);
OLD IMPLEMENT LOGIC(Pseudo code):
char *sep = PyString_AS_STRING(self);
Changes by abael hyj...@gmail.com:
--
components: +Interpreter Core -Library (Lib)
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15522
___
___
Antoine Pitrou added the comment:
Hi, several points:
- Python 2.7 is in bugfix mode; you need to work from the default Mercurial
branch as explained in http://docs.python.org/devguide/ . In practice, this
means your patch will target the future Python 3.4, and therefore either
Changes by Jesús Cea Avión j...@jcea.es:
--
nosy: +jcea
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15522
___
___
Python-bugs-list mailing list
10 matches
Mail list logo