summaryrefslogtreecommitdiff
path: root/src/rb_str.c
diff options
context:
space:
mode:
authorOlivier Gayot <duskcoder@gmail.com>2013-12-22 00:27:58 +0100
committerOlivier Gayot <duskcoder@gmail.com>2014-01-18 13:44:10 +0100
commit0aac38f5b25f25b2472f991e3275dc976a9aa47e (patch)
treeda85b0f9c824650f0c28ab625400b1b2bc05e29c /src/rb_str.c
parent24dc23e78ca4b49d599093f7936ddcb9da818ab6 (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 'src/rb_str.c')
0 files changed, 0 insertions, 0 deletions