Skip to content

Conversation

@nikic
Copy link
Member

@nikic nikic commented Aug 4, 2016

Instead directly write into req_buf smart_str.

Instead directly write into req_buf smart_str.
@vhuk
Copy link
Contributor

vhuk commented Aug 4, 2016

Looks good to me, though it does have a slight impact on readability where slprintf/snprintf used to be.

@nikic
Copy link
Member Author

nikic commented Aug 7, 2016

Merged via 3823bfc.

Thanks for taking a look. Yeah, readability is a bit worse than printf, but I think this is more robust (no magic allocation buffers of size 29 (why?)) and avoids a couple of extra copies between buffers.

@nikic nikic closed this Aug 7, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants