in reply to Re^2: perl process slower and slower when loop number increase
in thread perl process slower and slower when loop number increase

for ($i=0; $i<1; $i++); is a better null statement because the parsing time would be exactly the same. And running 1 iteration of a loop (or 100 for that matter) is negligible.
  • Comment on Re^3: perl process slower and slower when loop number increase