diff options
author | Olivier Gayot <duskcoder@gmail.com> | 2013-12-22 00:27:58 +0100 |
---|---|---|
committer | Olivier Gayot <duskcoder@gmail.com> | 2014-01-18 13:44:10 +0100 |
commit | 0aac38f5b25f25b2472f991e3275dc976a9aa47e (patch) | |
tree | da85b0f9c824650f0c28ab625400b1b2bc05e29c /rb_str.h | |
parent | 24dc23e78ca4b49d599093f7936ddcb9da818ab6 (diff) |
rb: improve the performance of rb_put
when we call rb_put with a size greater than the size of the ring buffer
itself, we used to copy in a loop, overriding our new written datas.
it was very inefficient so we avoid these computations
closes #1
Diffstat (limited to 'rb_str.h')
0 files changed, 0 insertions, 0 deletions