?
=?ISO-8859-15?Q?Bj=F6rn_Dietz?=
Hello,
does someone have experience concerning the performance with string
operations in .net2?
for example, which code (a or b) is quicker when executed a million times:
a)
DIM x1 AS STRING = " TEST "
DIM x2 AS STRING = TRIM(x1)
b)
DIM x1 AS STRING = " TEST "
DIM x2 AS STRING = x1.TRIM
I have to parse through very large files, so even a small difference
would make a significant difference for the final program.
thanks in advance!
bjoern
does someone have experience concerning the performance with string
operations in .net2?
for example, which code (a or b) is quicker when executed a million times:
a)
DIM x1 AS STRING = " TEST "
DIM x2 AS STRING = TRIM(x1)
b)
DIM x1 AS STRING = " TEST "
DIM x2 AS STRING = x1.TRIM
I have to parse through very large files, so even a small difference
would make a significant difference for the final program.
thanks in advance!
bjoern