Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Speed comparison of MID$ vs ASC
#11
One must also consider that you don't generally need to replace 100 million characters at any given time. So using MID$ in most cases will be completely fine. Without even needing to run any tests, there are definitely diminishing returns as the strings become smaller. Replacing a single character using MID$ vs using ASC will not be noticeable to anyone except the CPU. Kind of like when Steve used to do a huge recursive file listing using his direntry stuff and PowerShell could do it much quicker and automatically sorted. On larger listings, PowerShell always won. On smaller listings, direntry won. All cool ideas, but these speed tests are never realistic.
Tread on those who tread on you

Reply




Users browsing this thread: 1 Guest(s)