Andrzej Bialecki wrote:
The advantage of using native lib is that you avoid fork/exec cost, and I guess during the lifetime of NutchFS there would be quite a few calls to the native utilities... I'm afraid this would give a poor performance. Also, on different Unixes (and on Cygwin) command-line parameters for many FS-specific utilities are different.

I still would like to try to first make it work with just shell commands. Yes, it will be slower than native, but I don't think we should need to perform these operations so frequently that this will be a big issue. Command-line options could be an problem too, but let's give it a try first. If these are a problem, we could simply require that the GNU versions are used by, e.g., examining the output of 'mv --version' and 'df --version'. The GNU utils are the default on lots of Unix implementations, and will run on the rest.


Doug


------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nutch-developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nutch-developers

Reply via email to