<?xml version="1.0" encoding="windows-1252"?>
<node id="1007609" title="Re^3: Reading files n lines a time" created="2012-12-06 10:37:14" updated="2012-12-06 10:37:14">
<type id="11">
note</type>
<author id="933574">
mbethke</author>
<data>
<field name="doctext">
&lt;p&gt;Considering the OP deals with multi-GB files I'd prefer the slightly uglier assignment to &lt;code&gt;$_&lt;/code&gt; because the kite's tail is not optimized away so all the strings would actually be shoved through the binary negation twice.&lt;/p&gt;
&lt;p&gt;I was surprised by the result BTW when I looked at the optree; I'm almost completely clueless about what Perl can and cannot optimize but it even a fairly trivial peephole optimizer as in early C compilers could catch this.&lt;/p&gt;</field>
<field name="root_node">
1007560</field>
<field name="parent_node">
1007587</field>
</data>
</node>
