How does rb_str_cat differ from rb_str_buf_cat? I have a a String object, a C pointer to a char array, and the length of the array. The array is 10KB or even 100KB. I want to cat the char array to the String. Which is the better function to use?
on 2008-12-14 00:36
on 2008-12-20 15:55
In message "Re: string.c question" on Sun, 14 Dec 2008 07:29:17 +0900, Tim H. <firstname.lastname@example.org> writes: |How does rb_str_cat differ from rb_str_buf_cat? rb_str_buf_cat() is a function to use with strings created by rb_str_buf_new(). If you're not sure use rb_str_cat(). matz.