Created a proof of concept that will create a string with a given capacity using rb_str_buf_new as a gem. https://github.com/dylanahsmith/ruby-string-buffer