Click here to Skip to main content
15,904,503 members
Home / Discussions / C#
   

C#

 
AnswerRe: Using ArrayList Pin
radic.feng26-Aug-05 1:23
radic.feng26-Aug-05 1:23 
QuestionJob Scheduler Pin
mohitTheOne25-Aug-05 9:46
mohitTheOne25-Aug-05 9:46 
AnswerRe: Job Scheduler Pin
miah alom25-Aug-05 11:45
miah alom25-Aug-05 11:45 
QuestionSubclassing in .NET Pin
Luis Alonso Ramos25-Aug-05 9:43
Luis Alonso Ramos25-Aug-05 9:43 
AnswerRe: Subclassing in .NET Pin
Daniel Turini25-Aug-05 10:31
Daniel Turini25-Aug-05 10:31 
GeneralRe: Subclassing in .NET Pin
Luis Alonso Ramos25-Aug-05 16:59
Luis Alonso Ramos25-Aug-05 16:59 
Answer[Message Deleted] Pin
miah alom25-Aug-05 11:59
miah alom25-Aug-05 11:59 
QuestionSetting the exact position of a tooltip Pin
Luis Alonso Ramos25-Aug-05 9:37
Luis Alonso Ramos25-Aug-05 9:37 
AnswerRe: Setting the exact position of a tooltip Pin
miah alom25-Aug-05 12:00
miah alom25-Aug-05 12:00 
GeneralRe: Setting the exact position of a tooltip Pin
Luis Alonso Ramos25-Aug-05 16:47
Luis Alonso Ramos25-Aug-05 16:47 
GeneralRe: Setting the exact position of a tooltip Pin
miah alom26-Aug-05 11:03
miah alom26-Aug-05 11:03 
GeneralRe: Setting the exact position of a tooltip Pin
Luis Alonso Ramos26-Aug-05 16:31
Luis Alonso Ramos26-Aug-05 16:31 
GeneralRe: Setting the exact position of a tooltip Pin
Alomgir Miah26-Aug-05 17:31
Alomgir Miah26-Aug-05 17:31 
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 

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.