develooper Front page | perl.perl6.language | Postings from November 2008

Re: S16: chown, chmod

Thread Previous | Thread Next
From:
Aristotle Pagaltzis
Date:
November 23, 2008 14:49
Subject:
Re: S16: chown, chmod
Message ID:
20081123224906.GL2997@klangraum.plasmasturm.org
* Larry Wall <larry@wall.org> [2008-11-21 23:55]:
> Any you could even do it in parallel:
>
>     my @status = hyper map { .io.chmod($mode) }, @files
>
> though it's possible your sysadmin will complain about what
> you're doing with the disk drive heads.  :)

Actually I/O subsystems are smart enough these days that this
might be a sensible thing to do. It would distribute to multiple
disks without much affecting the single-disk case.

Over on the git list, Linus Torvalds just implemented naïvely
threaded `stat`ing for certain cases in `git log` and `git diff`,
and people with git repositories on NFS filesystems reported
3–6-fold speedups of these commands, without the local case being
adversely affected.

</offtopic-diversion>

Regards,
-- 
Aristotle Pagaltzis // <http://plasmasturm.org/>

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About