for the following, ‘str’ is some string value. So I just tested the speed of str:len() and string.len(str)