Improved Getstring, setString speed

Did some benchmarking.