I've been meaning to run some tests "when I get time." For now, I choose
to believe that there is no significant speed difference.


It isn't significant, but it is easy to show:

on timeit
  t = "one two three"
  m = the milliseconds
  repeat with a = 1 to 100000
    c = char 2 of word 2 of t
  end repeat
  m1 = the milliseconds - m
  m = the milliseconds
  repeat with a = 1 to 100000
    c = t.word[2].char[2]
  end repeat
  m2 = the milliseconds - m
  put m1 && m2
end

timeit
-- "824 1028"

[To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/lingo-l.cgi To post messages to the list, email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping with programming Lingo. Thanks!]

Reply via email to