Re: [Rd] serialize() takes too long when serializing to a raw vector

2007-01-25 Thread Ashish Kulkarni
Hin-Tak Leung wrote: > > It might be interesting to know get some details on your hardware. > It's a P4 2.66GHz with a standard Intel motherboard having 1GB RAM. > On my box, linux native seems to be a little slower than > your quick.serialize times: > > > system.time( serialize(matrix(0, 100

[Rd] serialize() takes too long when serializing to a raw vector

2007-01-25 Thread Ashish Kulkarni
Hello, R version 2.4.1 (2006-12-18) i386-pc-mingw32 Calling serialize() with a NULL connection serializes it to a raw vector. However, when the object to be serialized is large, it takes a very long time: > system.time( serialize(matrix(0, 1000, 1000), NULL) ) [1] 38.25 40.73 81.54NANA