[issue1747670] Limiting data copy in xmlrpclib

2016-01-20 Thread Serhiy Storchaka

Changes by Serhiy Storchaka :


--
status: open -> pending

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1747670] Limiting data copy in xmlrpclib

2014-05-13 Thread Stefan Krah

Changes by Stefan Krah :


--
nosy:  -skrah

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1747670] Limiting data copy in xmlrpclib

2014-02-03 Thread Mark Lawrence

Changes by Mark Lawrence :


--
nosy:  -BreamoreBoy

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1747670] Limiting data copy in xmlrpclib

2013-05-27 Thread Serhiy Storchaka

Serhiy Storchaka added the comment:

Yes, it would be nice if you provided an example.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1747670] Limiting data copy in xmlrpclib

2013-05-27 Thread Gael Le Mignot

Gael Le Mignot added the comment:

It's not something that can be easily benched because it depends a lot of the 
use case. If some conditions are present (big amount of data sent to XML-RPC, 
the XML-RPC server taking a long time to answer, end either Python giving back 
the memory to the OS or another thread reusing the garbage collected memory) 
the gain in memory can be very significant, in most other cases, it won't 
change anything. 

Do you me to craft a simple example where the difference can be seen ?

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1747670] Limiting data copy in xmlrpclib

2013-05-25 Thread Serhiy Storchaka

Serhiy Storchaka added the comment:

Do you have any benchmarks?

--
nosy: +serhiy.storchaka

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1747670] Limiting data copy in xmlrpclib

2013-03-26 Thread Thomas Fenzl

Thomas Fenzl added the comment:

I removed the unnecessary check on single-element arrays. 
No strong opinion on usefulness, as I don't use xmlrpc a lot...

--
Added file: http://bugs.python.org/file29579/xmlrpc_less_copy-1.diff

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1747670] Limiting data copy in xmlrpclib

2013-03-22 Thread Gael Le Mignot

Gael Le Mignot added the comment:

Great that join does the optimisation by itself now, but the last issue of the 
patch (cleaning the _data array before calling f() so the memory of _data can 
be collected earlier) still seems meaningful today.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1747670] Limiting data copy in xmlrpclib

2013-03-22 Thread Antoine Pitrou

Antoine Pitrou added the comment:

I would close this as out of date, unless you have other suggestions to improve 
memory consumption.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1747670] Limiting data copy in xmlrpclib

2013-03-22 Thread Antoine Pitrou

Antoine Pitrou added the comment:

Well, str.join() already optimizes this case to avoid copies:

>>> s = "x" * 50
>>> id(s)
139712615414000
>>> id(''.join([s]))
139712615414000

--
nosy: +pitrou

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1747670] Limiting data copy in xmlrpclib

2013-03-20 Thread Thomas Fenzl

Thomas Fenzl added the comment:

Adapted the patch to python3.3
It may be useful with large amounts of transfered data avoiding a copy and 
freeing memory earlier.
The functionality is tested with the existing unit tests.

--
nosy: +Thomas Fenzl
versions: +Python 3.4 -Python 2.7
Added file: http://bugs.python.org/file29519/xmlrpc_less_copy.diff

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1747670] Limiting data copy in xmlrpclib

2010-07-20 Thread Mark Lawrence

Mark Lawrence  added the comment:

Could somebody update here please 
http://svn.python.org/view/*checkout*/python/branches/py3k/Misc/maintainers.rst

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1747670] Limiting data copy in xmlrpclib

2010-07-20 Thread Martin v . Löwis

Changes by Martin v. Löwis :


--
assignee: loewis -> 

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1747670] Limiting data copy in xmlrpclib

2010-07-20 Thread Stefan Krah

Stefan Krah  added the comment:

Martin has recently removed his name from py3k/Misc/maintainers.rst.
Also, he has stated that assigning bugs to him might mean that they
get less attention (due to the large number of issues that he's involved
in).

--
nosy: +skrah

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1747670] Limiting data copy in xmlrpclib

2010-07-20 Thread Mark Lawrence

Mark Lawrence  added the comment:

The code in the patch has been removed from py3k.  This can only go forward if 
a unit test is provided.  Change assigned to as per maintainers list.

--
assignee:  -> loewis
nosy: +BreamoreBoy, loewis
versions:  -Python 3.1

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1747670] Limiting data copy in xmlrpclib

2009-04-06 Thread Daniel Diniz

Changes by Daniel Diniz :


--
stage:  -> test needed
type:  -> resource usage
versions: +Python 2.7, Python 3.1

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com