<?xml version="1.0" encoding="windows-1252"?>
<node id="998059" title="Re^3: Speed up perl code" created="2012-10-09 15:22:03" updated="2012-10-09 15:22:03">
<type id="11">
note</type>
<author id="961">
Anonymous Monk</author>
<data>
<field name="doctext">
&lt;p&gt;Yes, it is spending much time in that loop, because 90% of your code is there.&lt;/p&gt;

&lt;p&gt;You need to divide your code into subroutines, preferably small ones, to get a reasonable analysis from a profiler.&lt;/p&gt;</field>
<field name="root_node">
994817</field>
<field name="parent_node">
998024</field>
<field name="reputation">
0</field>
</data>
</node>
