And a new speed comparison table. 0.23 .. 0.32 are Text::CSV_XS, and 1.00 .. 1.06 are Text::CSV_PP. I have no idea why 1.06 is not yet on CPAN.
0.23 0.25 0.26 0.27 0.28 0.29 0.30 0.31 0.32 1.00 1.02 1.0
+5 1.06
==== ==== ==== ==== ==== ==== ==== ==== ==== ==== ==== ===
+= ====
combine 1 60 60 60 59 56 100 98 93 96 14 14 1
+4 14
combine 10 40 40 41 41 40 100 96 92 95 6 6
+6 6
combine 100 34 33 34 33 34 100 92 89 90 5 5
+5 5
parse 1 100 86 92 89 86 96 98 93 98 20 19 1
+7 8
parse 10 94 85 98 98 100 96 92 87 94 16 16 1
+4 5
parse 100 88 81 93 90 97 100 97 93 99 16 16 1
+4 5
print io 92 90 91 91 92 100 95 94 94 68 66
+6 6
getline io 88 80 90 88 90 100 98 93 98 - - 1
+3 5
---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---
+- ----
average 74 69 74 73 74 99 95 91 95 18 17 1
+1 6
Enjoy, Have FUN! H.Merijn
-
Are you posting in the right place? Check out Where do I post X? to know for sure.
-
Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
<code> <a> <b> <big>
<blockquote> <br /> <dd>
<dl> <dt> <em> <font>
<h1> <h2> <h3> <h4>
<h5> <h6> <hr /> <i>
<li> <nbsp> <ol> <p>
<small> <strike> <strong>
<sub> <sup> <table>
<td> <th> <tr> <tt>
<u> <ul>
-
Snippets of code should be wrapped in
<code> tags not
<pre> tags. In fact, <pre>
tags should generally be avoided. If they must
be used, extreme care should be
taken to ensure that their contents do not
have long lines (<70 chars), in order to prevent
horizontal scrolling (and possible janitor
intervention).
-
Want more info? How to link
or How to display code and escape characters
are good places to start.
|