fixed float read performance in _scanString

changes related to  Issue #1736