substr is even faster than read, 7% speedup