Inline commonly used functions. And optimize number-string-p.
Use concatenate instead of format.
Add a type declaration for preventing a compiler note.