http://qs321.pair.com?node_id=1211159


in reply to Re^2: Perl Program to efficiently process 500000 small files in a Directory (AIX)
in thread Perl Program to efficiently process 500000 small files in a Directory (AIX)

Can you tell me if Perl's "rename" is more efficient than "move"? As these files are on the same file system.

rename avoids spawning a new process to do the same syscall, so it should be faster and create less load.

Alexander

--
Today I will gladly share my knowledge and experience, for there are no sweeter words than "I told you so". ;-)
  • Comment on Re^3: Perl Program to efficiently process 500000 small files in a Directory (AIX)