[issue15522] impove 27 percent performance on stringpbject.c( by prefetch and loop optimization)

2012-10-19 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- status: open - pending ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15522 ___ ___

[issue15522] impove 27 percent performance on stringpbject.c( by prefetch and loop optimization)

2012-08-05 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- status: open - pending ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15522 ___ ___

[issue15522] impove 27 percent performance on stringpbject.c( by prefetch and loop optimization)

2012-08-05 Thread abael
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

[issue15522] impove 27 percent performance on stringpbject.c( by prefetch and loop optimization)

2012-08-05 Thread R. David Murray
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

[issue15522] impove 27 percent performance on stringpbject.c( by prefetch and loop optimization)

2012-08-04 Thread abael
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):

[issue15522] impove 27 percent performance on stringpbject.c( by prefetch and loop optimization)

2012-08-04 Thread Serhiy Storchaka
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

[issue15522] impove 27 percent performance on stringpbject.c( by prefetch and loop optimization)

2012-08-01 Thread abael
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);

[issue15522] impove 27 percent performance on stringpbject.c( by prefetch and loop optimization)

2012-08-01 Thread abael
Changes by abael hyj...@gmail.com: -- components: +Interpreter Core -Library (Lib) ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15522 ___ ___

[issue15522] impove 27 percent performance on stringpbject.c( by prefetch and loop optimization)

2012-08-01 Thread Antoine Pitrou
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

[issue15522] impove 27 percent performance on stringpbject.c( by prefetch and loop optimization)

2012-08-01 Thread Jesús Cea Avión
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