Re: try .. finally block
From: Tomaz Koritnik (tomaz.koritnik_at_no_spam_dewesoft.si)
Date: 01/16/04
- Next message: Brian Cook: "Re: Registry on another machine"
- Previous message: Rudy Velthuis (TeamB): "Re: Can Anyone try this beta!"
- In reply to: Craig Stuntz [TeamB]: "Re: try .. finally block"
- Next in thread: Ender: "Re: try .. finally block"
- Reply: Ender: "Re: try .. finally block"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 16 Jan 2004 22:47:28 +0100
Hi
I do know how to optimize code and this was just a questione. I don't
and I would never use try..except in pixel processing example.
regards,
Tomaz
"Craig Stuntz [TeamB]" <cstuntz@nospam.please [a.k.a. vertexsoftware.com]>
wrote in message news:4007f443$1@newsgroups.borland.com...
> Tomaz Koritnik wrote:
>
> > I would like to know if putting a code inside try..finally block,
> > makes execution slower.
>
> The first rule of optimization is that you should optimize the slow
> stuff first. In other words, don't lose too much sleep over whether
> something *might* make code slower. Instead, good application design.
> Once you have an application which works and which is reasonably
> robust, then you can profile the application and see if you have a
> performance problem. If your design is good, you probably won't. If
> you do have a problem, you can spend your time on the things which
> actually cause the problem instead of everything which might cause a
> problem.
>
> -Craig
>
> --
> Craig Stuntz [TeamB] . Vertex Systems Corp. . Columbus, OH
> Delphi/InterBase Weblog : http://delphi.weblogs.com
> InterBase in Multi-tier World -- Use multiple RDMs, IB features in
> your appserver: http://delphi.weblogs.com/stories/storyReader$195
- Next message: Brian Cook: "Re: Registry on another machine"
- Previous message: Rudy Velthuis (TeamB): "Re: Can Anyone try this beta!"
- In reply to: Craig Stuntz [TeamB]: "Re: try .. finally block"
- Next in thread: Ender: "Re: try .. finally block"
- Reply: Ender: "Re: try .. finally block"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|