[Zodb-checkins] CVS: Packages/ZEO - smac.py:1.18
Toby Dickenson
tdickenson@geminidataloggers.com
Tue, 2 Jul 2002 03:29:06 -0400
Update of /cvs-repository/Packages/ZEO
In directory cvs.zope.org:/tmp/cvs-serv18263
Modified Files:
smac.py
Log Message:
accumulate many strings into single call to send, to minimise the number of packets
=== Packages/ZEO/smac.py 1.17 => 1.18 ===
while output:
v = output[0]
+ while len(output)>1 and len(v)<16384:
+ del output[0]
+ v += output[0]
try:
n=self.send(v)
except socket.error, err: