Re: [Rd] Suggestion for serialization performance improvement on Windows

2010-07-20 Thread Prof Brian Ripley
On Fri, 9 Jul 2010, Bryan W. Lewis wrote: Dear R developers, The slow performance of serializing to a raw vector on Windows is an issue that has appeared in this list before. It appears to be due to References? the frequent use of realloc from the resize_buffer method in serialize.c. I

Re: [Rd] Suggestion for serialization performance improvement on Windows

2010-07-13 Thread Henrik Bengtsson
On Fri, Jul 9, 2010 at 6:49 AM, Bryan W. Lewis bwaynele...@gmail.com wrote: Dear R developers,  The slow performance of serializing to a raw vector on Windows is an issue that has appeared in this list before. My guess is that you are referring to: [Rd] serialize() to via temporary file is

[Rd] Suggestion for serialization performance improvement on Windows

2010-07-09 Thread Bryan W. Lewis
Dear R developers, The slow performance of serializing to a raw vector on Windows is an issue that has appeared in this list before. It appears to be due to the frequent use of realloc from the resize_buffer method in serialize.c. I suggest a more granular, but still incremental, re-allocation