performance improvement for ltoa