/[Apache-SVN]
ViewVC logotype

Revision 1183637


Jump to revision: Previous Next
Author: dcreager
Date: Sat Oct 15 13:36:40 2011 UTC (12 years, 5 months ago)
Changed paths: 3
Log Message:
AVRO-921. C: Default wrapped buffer implementation is zero-copy

The avro_wrapped_buffer_new_copy function creates a default
implementation of the wrapped buffer interface.  It creates a copy of
the data pointer that's passed in, which the wrapped buffer has full
control over.  Before, the wrapped buffer implementation would create
futher copies of the underlying buffer whenever the copy() method was
called.  Now, the wrapped buffer's copy is reference counted, and the
copy() and free() methods avoid making extra copies.


Changed paths

Path Details
Directoryavro/trunk/CHANGES.txt modified , text changed
Directoryavro/trunk/lang/c/src/avro/data.h modified , text changed
Directoryavro/trunk/lang/c/src/wrapped-buffer.c modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26