Hello,
I'd like to create a ruby script that parses emails(that will grow with volume) and I need to find a way to distinct which emails the script touches. I can either rename the email after the script is done with the email or move it to another directory. Which would be a least costly operation or are they both equal expensive?
Would you have any other suggestions for this problem?
The way I understand it is that when you rename or change directory you are just changing the path. I think the directories are stored in a tree structure in which rename would be less expensive.
By the way I'm using Ubuntu(ext3)
Thank you
Bookmarks