|
-
May 20th, 2004, 12:55 PM
#1
Thread Starter
Frenzied Member
casting [RESOLVED]
ok, so I decided to turn Option Strict On (mainly cause I am now working with C# in addition to VB) and now I have a TON of entries in my Task List. Not surprising. Most of them are simple..cast from a string to an integer or vise-versy. I was wondering though, if explicitly casting, and I mean A LOT of casting is going on now, will be noticable on performance. Particularly, I concerned about the application slowing down due to heavy processing.
Is this a concern? Should I re-structure a data-base table here and there to help prevent this? or does it even matter.
Last edited by Andy; Aug 13th, 2004 at 12:07 PM.
-
May 20th, 2004, 01:14 PM
#2
Fanatic Member
Makes you realize how lazy you could get away w/ being in VB doesn't it? Anyway, I'm under the [perhaps mistaken] impression that a cast is going on behind the scenes anyway so it shouldn't slow anything down.
-
May 20th, 2004, 01:23 PM
#3
Sleep mode
Late binding does make overhead , so always use always early binding .For casting at runtime , I don't think it would be a big deal.
-
May 20th, 2004, 01:51 PM
#4
Thread Starter
Frenzied Member
cool. thanks for the input. I had a LOT of errors to correct. casting to integers, casting to strings, casting controls to textboxes, comboboxes, etc.
now, I have to figure out how to correct the "late binding" errors.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|