From: Mrmaster Mrmaster Date: 2009-06-17T02:50:28+09:00 Subject: Re: Which is more expensive Rename or Move? Kyle Schmitt wrote: > Assuming it's on the same filesystem, and you're using a real > filesystem format (ext2/3, xfs, jfs, etc), they should be almost > identical.... > > According to the docs on the File class though, it uses syscopy for > move, which seems odd to me, but the performance should be almost > identical. > > --Kyle Hi Kyle, I'm using ext filesystem. Why would they operations be identical? I thought the directories are stored in a tree structure so wouldn't it require another n(logn) operation to find a new directory during a move? -- Posted via http://www.ruby-forum.com/.