Hi Al,
The hash table is fine with String. The StringBuilder is mostly used to
build strings concatenating small strings many times or replacing/inserting
text inside a large string, so you have to see if this fits in your problem,
which surely does for replacing the words by the new ones in the paragraph
that you want to process.
--
Best regards,
Carlos J. Quintero
MZ-Tools: Productivity add-ins for Visual Studio
You can code, design and document much faster:
http://www.mztools.com
<al*****@altavista.com> escribió en el mensaje
news:11**********************@g44g2000cwa.googlegr oups.com...
Hi everyone,
Can you help me please? Say you have hashtable of about 500 key/value
pairs. This hashtable has to parse a word. If the word matches the key
the then said word must be replaced by the value.
My question is though - would parsing occur faster if the word is
input as a type string or a type stringbuilder? Do you see my point?
Would appreciate any comments/experiences/suggestions that anyone has
on this one...
Al.