[Rprotobuf-commits] r848 - papers/jss

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Thu Jan 23 20:13:05 CET 2014


Author: murray
Date: 2014-01-23 20:13:04 +0100 (Thu, 23 Jan 2014)
New Revision: 848

Modified:
   papers/jss/article.Rnw
Log:
Add a total summary row giving the relative size reduction for
different serialization formats, and reference the finding more
specifically in the text.



Modified: papers/jss/article.Rnw
===================================================================
--- papers/jss/article.Rnw	2014-01-23 18:59:08 UTC (rev 847)
+++ papers/jss/article.Rnw	2014-01-23 19:13:04 UTC (rev 848)
@@ -1355,9 +1355,12 @@
 returned by object.size() compared to the serialized sizes.
 %The summary compression sizes are listed below, and a full table for a
 %sample of 50 datasets is included on the next page.  
-Sizes are comparable but Protocol Buffers provide simple getters and setters
-in multiple languages instead of requiring other programs to parse the \proglang{R}
-serialization format. % \citep{serialization}.
+Note that protocol buffer serialization results in slightly
+smaller byte streams compared to native \proglang{R} serialization in most cases,
+but this difference disappears if the results are compressed with gzip.
+%Sizes are comparable but Protocol Buffers provide simple getters and setters
+%in multiple languages instead of requiring other programs to parse the \proglang{R}
+%serialization format. % \citep{serialization}.
 One takeaway from this table is that the universal \proglang{R} object schema
 included in \CRANpkg{RProtoBuf} does not in general provide
 any significant saving in file size compared to the normal serialization
@@ -1433,6 +1436,9 @@
   OrchardSprays & 3600 & 2164 & 445 & 1897 & 483 \\
   WWWusage & 1232 & 916 & 274 & 859 & 251 \\
   \bottomrule
+%  Total & 391176 & 327537 & 99161 & 313456 & 100308 \\
+  Relative Size & 100\% & 83.7\% & 25.3\% & 80.1\% & 25.6\%\\
+  \bottomrule
 \end{tabular}
 }
 \caption{Serialization sizes for default serialization in \proglang{R} and



More information about the Rprotobuf-commits mailing list