12-14-2016, 03:30 PM
Gintaras, surely asked before but can't find it back.
I have a huge dictionary like routine, i.e
A,B
C,D
if A is present in a str variable, replace it by B etc etc
In my sample codes, i have implementation using ICsv and IStringmap, which both leads to same result.
However, as the list is growing , i'd like to know if i must use IStringmap get function or simple
for _i 0 x.RowCount
this.findreplace(x.Cell(_i 0) x.Cell(_i 1) 3)
for the sake of code speed and efficiency.
i wonder because ICSV seems to work in all words of a string, and IStringmap seems to need use of tokens to
treat all word of the str.
but i must be wrong in last assertion.
TY
TY
I have a huge dictionary like routine, i.e
A,B
C,D
if A is present in a str variable, replace it by B etc etc
In my sample codes, i have implementation using ICsv and IStringmap, which both leads to same result.
However, as the list is growing , i'd like to know if i must use IStringmap get function or simple
for _i 0 x.RowCount
this.findreplace(x.Cell(_i 0) x.Cell(_i 1) 3)
for the sake of code speed and efficiency.
i wonder because ICSV seems to work in all words of a string, and IStringmap seems to need use of tokens to
treat all word of the str.
but i must be wrong in last assertion.
TY
TY