Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Regex madness...
#5
IStringMap would be fastest to find in a big list. But if need to replacerx, I probably would use array.

str s.getfile(...)
ARRAY(str) a=s
int i
for i 0 a.len
,a[i].replacerx(...)
s=a
s.setfile(...)

If it is too slow, can be optimized to make maybe 2 times faster.


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)