Click here to Skip to main content
15,887,214 members
Home / Discussions / C#
   

C#

 
GeneralRe: Setting the exact position of a tooltip Pin
Luis Alonso Ramos26-Aug-05 22:08
Luis Alonso Ramos26-Aug-05 22:08 
QuestionPlease could you... Pin
KORCARI25-Aug-05 9:26
KORCARI25-Aug-05 9:26 
AnswerRe: Please could you... Pin
miah alom25-Aug-05 12:03
miah alom25-Aug-05 12:03 
GeneralRe: Please could you... Pin
radic.feng26-Aug-05 1:44
radic.feng26-Aug-05 1:44 
QuestionRegex vs. String - *Speed* Pin
User 665825-Aug-05 8:30
User 665825-Aug-05 8:30 
AnswerRe: Regex vs. String - *Speed* Pin
Daniel Turini25-Aug-05 9:04
Daniel Turini25-Aug-05 9:04 
GeneralRe: Regex vs. String - *Speed* Pin
User 665825-Aug-05 9:50
User 665825-Aug-05 9:50 
GeneralRe: Regex vs. String - *Speed* Pin
Daniel Turini25-Aug-05 10:37
Daniel Turini25-Aug-05 10:37 
On a decent machine, I'd bet you'll not see much difference (if your Regex does not backtrack a lot) after the first invocation (the Regex engine will need to compile your Regex on the first invocation), but also depends on the position on the string your matches will be and if you're able to build a 0 backtrack regex.
For small matches on small strings (as it seems your case), I'd suggest you to use non-greedy operator (e.g., instead of using .* use .*?).
If you have parser construction and compiler construction knowledge, the best performing solution will alway be producing a DFA parser with a parser tool like COCO/R or using a parser generated by ANTLR, specially if your grammar is LL(1).


I see dead pixels
Yes, even I am blogging now!
GeneralRe: Regex vs. String - *Speed* Pin
User 665825-Aug-05 12:03
User 665825-Aug-05 12:03 
AnswerRe: Regex vs. String - *Speed* Pin
eggie526-Aug-05 7:19
eggie526-Aug-05 7:19 
GeneralRe: Regex vs. String - *Speed* Pin
User 665827-Aug-05 0:33
User 665827-Aug-05 0:33 
QuestionWindows Service Pin
Taurian11025-Aug-05 8:26
Taurian11025-Aug-05 8:26 
QuestionHow to Secure the Configuration Settings Pin
oneworld200225-Aug-05 7:25
oneworld200225-Aug-05 7:25 
Questionforms Pin
xilefxilef25-Aug-05 6:30
xilefxilef25-Aug-05 6:30 
AnswerRe: forms Pin
Judah Gabriel Himango25-Aug-05 7:00
sponsorJudah Gabriel Himango25-Aug-05 7:00 
AnswerRe: forms Pin
Not Active25-Aug-05 7:11
mentorNot Active25-Aug-05 7:11 
GeneralRe: forms Pin
xilefxilef25-Aug-05 8:45
xilefxilef25-Aug-05 8:45 
AnswerRe: forms Pin
jdkulkarni25-Aug-05 19:59
jdkulkarni25-Aug-05 19:59 
QuestionSkype GUI? Pin
wakkerjack25-Aug-05 6:12
wakkerjack25-Aug-05 6:12 
QuestionAdding DataColumns Pin
chandru_inbox25-Aug-05 5:43
chandru_inbox25-Aug-05 5:43 
Questionquerying Active Directory for Exchange Servers Pin
David Junius Bennion25-Aug-05 5:39
David Junius Bennion25-Aug-05 5:39 
Questionproblem in listview with checkbox Pin
fady_sayegh25-Aug-05 5:19
fady_sayegh25-Aug-05 5:19 
QuestionJIT Debugging Pin
LiamD25-Aug-05 4:32
LiamD25-Aug-05 4:32 
QuestionGDI+: how to avoid blur when stretching image Pin
bouli25-Aug-05 4:07
bouli25-Aug-05 4:07 
AnswerRe: GDI+: how to avoid blur when stretching image Pin
Andrew Kirillov25-Aug-05 6:55
Andrew Kirillov25-Aug-05 6:55 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.