optimize put, putChar

- [x] put
- [x] putChar
- [ ] numbers
- [ ] strings