-------- Original-Nachricht -------- > Datum: Fri, 18 Sep 2009 15:30:38 +0900 > Von: Robert Klemme <shortcutter@googlema il.com> > An: ruby-talk / ruby-lang.org > Betreff: Re: repeatedly open file or save entire file to memory? > 2009/9/17 Axel Etzold <AEtzold / gmx.de>: > > Jason, > > >> > I want to make sure I do what is most efficient when dealing with > >> > multiple and potentially large files. > > > > you can use ruby-prof for profiling of your code. It's available as > > a gem. Dear Robert, > > I consider Jason's question as a design level question. That's > nothing where a profiler can really help. Of course you can code up > alternatives and measure performance. But it can only tell you which > version of several is fastest - it cannot tell you how you should > change your design to improve it. I agree with you. I proposed this precisely to see how long several alternatives take. One always has to think about design oneself :) Best regards, Axel -- Jetzt kostenlos herunterladen: Internet Explorer 8 und Mozilla Firefox 3 - sicherer, schneller und einfacher! http://portal.gmx.net/de/go/atbrowser