|
Am 05.06.2022 um 16:38 schrieb Vinay Gavankar <vinaygav@xxxxxxxxx>:
For a given string (about 300 bytes with 34 fields, which is expected to be
the average), I iterated each of them 10000 times and captured the time
taken by each:
#1 - 70 milli-seconds
#2 - 86 milli-seconds
#3 - 712 milli-seconds
Not sure if my code for #3 is not efficient, but did not expect it to be
that bad. Even though #2 has the simplest code, I would probably go with #1.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.