Re: VB6, VB2005, or Something Else?
- From: "Dan Barclay" <Dan@xxxxxxxx>
- Date: Thu, 16 Mar 2006 12:50:48 -0600
"Paul Clement" <UseAdddressAtEndofMessage@xxxxxxxxxxxxxx> wrote in message
news:qnnh12t3rugeukuopf7jbb6fgjjr4ek2js@xxxxxxxxxx
On Wed, 15 Mar 2006 11:25:01 -0800, Bob O`Bob <filterbob@xxxxxxxxxxxxxxx>
wrote:
¤ Paul Clement wrote:
¤
¤ > Can I assume you're considering something just a little more
complicated than your example?
¤ > Otherwise GoSub is completely unnecessary and you can just use
Select...Case to perform the "a=b"
¤ > assignment. GoSub (which is slow in VB) is likely additional overhead
(although performance either
¤ > way is probably insignificant unless repeated for several iterations).
¤
¤ Point of order: you can not categorically say GoSub is "slow in VB"
because it's most definitely
¤ not true for any version prior to 4. And to some small extent, it was
actually an intentional
¤ hobbling of the feature - they knew at the time they *could have*
invested more effort to make
¤ it perform well, they simply chose not to.
¤
Whatever the reason for it, you are forced to the consider the performance
issue
if it has an impact on the application.
Blaming Microsoft for making it slow doesn't solve the problem. (Clue:
Writing
on the wall).
You are confusing cause and effect. MS didn't properly implement the GoSub
(or other parts of the language) because they had no understanding or
respect for the language or the users. GoSub wasn't slow because it
needed to be slow, it was slow because MS didn't think it was important to
implement correctly.
If you don't believe me TALK TO THEM! They were afraid of *their
implementation*, not of GoSub itself. The hack they used internally sent
chills up their spine every time they thought about tinkering with it.
Optimization was out of the question.
Dan
.
- References:
- Re: VB6, VB2005, or Something Else?
- From: Gary Nelson
- Re: VB6, VB2005, or Something Else?
- From: Paul Clement
- Re: VB6, VB2005, or Something Else?
- From: Dan Barclay
- Re: VB6, VB2005, or Something Else?
- From: Paul Clement
- Re: VB6, VB2005, or Something Else?
- From: Gary Nelson
- Re: VB6, VB2005, or Something Else?
- From: Paul Clement
- Re: VB6, VB2005, or Something Else?
- From: Robert Comer
- Re: VB6, VB2005, or Something Else?
- From: Ralph
- Re: VB6, VB2005, or Something Else?
- From: Sheldon Rosenfeld
- Re: VB6, VB2005, or Something Else?
- From: Paul Clement
- Re: VB6, VB2005, or Something Else?
- From: Bob O`Bob
- Re: VB6, VB2005, or Something Else?
- From: Paul Clement
- Re: VB6, VB2005, or Something Else?
- Prev by Date: Re: VB6, VB2005, or Something Else?
- Next by Date: Re: VB6, VB2005, or Something Else?
- Previous by thread: Re: VB6, VB2005, or Something Else?
- Next by thread: Re: VB6, VB2005, or Something Else?
- Index(es):
Relevant Pages
|