[Bioperl-l] flushing i/o with TreeIO

Ewan Birney birney@ebi.ac.uk
Fri, 12 Jul 2002 13:33:28 +0100 (BST)


On Fri, 12 Jul 2002, Aaron J Mackey wrote:

> 
> On Fri, 12 Jul 2002, Ewan Birney wrote:
> 
> > We could call flush at the end of every sequence write
> 
> That's what I meant - not close nor autoflush.  Just a simple $fh->flush.
> 
> > ... as a flag which you can switch off if you want better performance.
> 
> Sure, the default is to flush, optionally not to flush ... right?
> 
> > But basically I agree with Jason - the caller has to be responsible
> > for closing the stream to guarentee file semantics...
> 
> Then $seqIOout->close() should always do the trick; let's not force people
> to jump through our internal hoops with $seqIOout->fh->close.
> 
> I'd be happy to institute these changes, once I hear a consensus ...

I'm happy with this. If noone shouts... go for it.




> 
> -Aaron
> 
> -- 
>  Aaron J Mackey
>  Pearson Laboratory
>  University of Virginia
>  (434) 924-2821
>  amackey@virginia.edu
> 
> 
> _______________________________________________
> Bioperl-l mailing list
> Bioperl-l@bioperl.org
> http://bioperl.org/mailman/listinfo/bioperl-l
> 

-----------------------------------------------------------------
Ewan Birney. Mobile: +44 (0)7970 151230, Work: +44 1223 494420
<birney@ebi.ac.uk>. 
-----------------------------------------------------------------