Re: Interfaces vs Classes
From: Frank Rizzo (none_at_none.com)
Date: 02/24/05
- Next message: Mattias Sjögren: "Re: Create a COM Object with C#?"
- Previous message: Morten Wennevik: "Re: Really easy combobox question"
- In reply to: Helge Jensen: "Re: Interfaces vs Classes"
- Next in thread: Nick Malik [Microsoft]: "Re: Interfaces vs Classes"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 24 Feb 2005 14:39:16 -0800
Helge Jensen wrote:
> Frank Rizzo wrote:
>
>> would be huge. That's why I care about speed.
>
>
> Run a test, it is very dangerous to second-guess performance in
> high-level languages. Even more so in runtime-dependant and jit-compiled
> ones.
> Besides, any other processing you do to these object will have to be
> *very* simple indeed for the virtual-dispatch to take up much of the
> processing time.
> Remember, optimization cannot save more cpu-cycles than you spend
> unoptimized, so do your optimization where lots of time is spent.
I agree. This is the place where most of the time would be spent.
Unfortunately, I can't run a test because I don't yet have anything: I
am in the design stage.
- Next message: Mattias Sjögren: "Re: Create a COM Object with C#?"
- Previous message: Morten Wennevik: "Re: Really easy combobox question"
- In reply to: Helge Jensen: "Re: Interfaces vs Classes"
- Next in thread: Nick Malik [Microsoft]: "Re: Interfaces vs Classes"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|