Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Which one for pair words handleling
#1
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
#2
PerfFirst
ICsv ...
...
PerfNext
IStringMap ...
...
PerfNext
PerfOut
#3
will try, ty


Forum Jump:


Users browsing this thread: 1 Guest(s)