|
-
Feb 9th, 2010, 08:34 AM
#41
Re: How many"k" are in my textboxes
 Originally Posted by Shaggy Hiker
Some people would call a pun the lowest form of humor
Some people would call Special K the lowest form of cereal
 Originally Posted by Shaggy Hiker
When I copied that into my testapp, I found that type inference simply wasn't working in that app, despite using VS2008 targeting the 3.5 framework. Is there something else that I need to set?
(in properties) Option Infer
- Coding Examples:
- Features:
- Online Games:
- Compiled Games:
-
Feb 9th, 2010, 03:28 PM
#42
Re: How many"k" are in my textboxes
 Originally Posted by i00
and actually linq is always faster ... except in cases where you need to evaluate the same thing multiple times... such as:
Better had you said "except in cases where it isn't."
There have been other posted comparisons in the last two weeks (couldn't find them if I wanted to, though, because I don't even remember what the topic was) where LINQ was beaten by a straight iterative search. LINQ is cool and easy to use. If performance is a question, then testing is the only true answer.
@.Paul.: Have you even had one of those days when you could look right at something and not see it? I thought I ALWAYS had Option Infer On, but in my test app, it was off. That may have been because the test app was imported from 2005 using the 2.0 framework, which didn't have Option Infer, I think.
My usual boring signature: Nothing
 
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
|