On Wed, Apr 23, 2008 at 04:37:54PM +0100, Drew Taylor wrote:
> >  What if you used link() instead of a copy?
> >
> >  Or just make the dump code make the tmp dir, and populate open a file 
> > handle
> >  to everything in advance so you don't have to worry about paths changing
> >  under you?
> 
> As I understand your suggestion, dumping to the tmp dir wouldn't work
> for me because I make a dump only every so often, but populate from it
> many times per day as I run my tests. I just want to zip through the
> existing files w/o any IO other than reading/slurping the .fix files.

If dumping uses a temp dir, and populate just opens the filehandles,
that's exactly what you'd get.

-- 
      Matt S Trout       Need help with your Catalyst or DBIx::Class project?
   Technical Director                    http://www.shadowcat.co.uk/catalyst/
 Shadowcat Systems Ltd.  Want a managed development or deployment platform?
http://chainsawblues.vox.com/            http://www.shadowcat.co.uk/servers/

_______________________________________________
List: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/dbix-class
IRC: irc.perl.org#dbix-class
SVN: http://dev.catalyst.perl.org/repos/bast/DBIx-Class/
Searchable Archive: http://www.grokbase.com/group/[EMAIL PROTECTED]

Reply via email to