[Gambas-user] if-else vs try who are best faster in machine time?

nando nando_f at ...951...
Mon Nov 4 23:24:13 CET 2013


I vote for (2)


---------- Original Message -----------
From: Jussi Lahtinen <jussi.lahtinen at ...626...>
To: mailing list for gambas users <gambas-user at lists.sourceforge.net>
Sent: Mon, 4 Nov 2013 23:43:10 +0200
Subject: Re: [Gambas-user] if-else vs try who are best faster in machine time?

> Why not simply write benchmark?
> 
> Jussi
> 
> On Mon, Nov 4, 2013 at 11:30 PM, PICCORO McKAY Lenz
> <mckaygerhard at ...626...>wrote:
> 
> > i have  several I/O write and i wish to know what its the best choice:
> >
> > 1) If Exist(ruta_img_foto) Then Kill ruta_img_foto
> >
> > or
> >
> > 2) Try Kill ruta_img_foto
> >
> > of course, maybe depends of how the if-else works respect the try logic!
> >
> > please, i need this info, i use low end machines like daruma's !!!!
> > (512Mb ram, and 800MHz cpu)
> >
> > --
> > Lenz McKAY Gerardo (PICCORO)
> > http://qgqlochekone.blogspot.com
> >
> >
> > ------------------------------------------------------------------------------
> > Android is increasing in popularity, but the open development platform that
> > developers love is also attractive to malware creators. Download this white
> > paper to learn more about secure code signing practices that can help keep
> > Android apps secure.
> > http://pubads.g.doubleclick.net/gampad/clk?id=65839951&iu=/4140/ostg.clktrk
> > _______________________________________________
> > Gambas-user mailing list
> > Gambas-user at lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/gambas-user
> >
> ------------------------------------------------------------------------------
> Android is increasing in popularity, but the open development platform that
> developers love is also attractive to malware creators. Download this white
> paper to learn more about secure code signing practices that can help keep
> Android apps secure.
> http://pubads.g.doubleclick.net/gampad/clk?id=65839951&iu=/4140/ostg.clktrk
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
------- End of Original Message -------





More information about the User mailing list