[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Monotone-commits-nodiffs] Revision e9cf8110c8a07d357fed15d38ffa61c278f8
From: |
monotone |
Subject: |
[Monotone-commits-nodiffs] Revision e9cf8110c8a07d357fed15d38ffa61c278f8b8aa |
Date: |
Thu, 18 Aug 2005 12:04:36 UT |
-----------------------------------------------------------------
Revision: e9cf8110c8a07d357fed15d38ffa61c278f8b8aa
Ancestor: d699785447439c37bf1f5219ce8a4a57169e9f51
Author: address@hidden
Date: 2005-08-18T11:09:05
Branch: net.venge.monotone
Added files:
string_queue.cc string_queue.hh
Modified files:
ChangeLog Makefile.am database.cc hmac.cc hmac.hh netcmd.cc
netcmd.hh netio.hh netsync.cc unit_tests.cc unit_tests.hh
ChangeLog:
* Changes to significantly improve network pull performance
* string_queue.hh: created to store pending data and allow for
efficient removal from the front. The string queue automatically
reduces its buffer size if it is very empty.
* hmac.{cc,hh}: Add in a version of chained_hmac::process that can
operate on a string_queue for use during read.
* netcmd.{cc,hh}: update netcmd::read to use a string_queue rather
than a string, update all the regression tests also. This required
the somewhat ugly creation of a read_string function because the
netcmd read and write functions are no longer using the same type.
* netio.hh: introduce functions for operating on a string_queue. They
are identical to the equivalent string functions except for the type
of the argument.
* netsync.cc: Use a string_queue rather than a string for storing the
input and output buffers.
* string_queue.cc: unit tests (Matt Johnston)
monotone --db={your.database} diff
--revision=d699785447439c37bf1f5219ce8a4a57169e9f51
--revision=e9cf8110c8a07d357fed15d38ffa61c278f8b8aa
----------------------------------------------------------------------
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Monotone-commits-nodiffs] Revision e9cf8110c8a07d357fed15d38ffa61c278f8b8aa,
monotone <=