Change buffer resizing algorithm from constant based to ratio based to speed up resizing and reducing number of iterations required to adjust size of buffer to proper value.
Use 2 as default resize ratio.
For more details see comments 13 and 14 in task #14
Change buffer resizing algorithm from constant based to ratio based to speed up resizing and reducing number of iterations required to adjust size of buffer to proper value.
Use 2 as default resize ratio.
For more details see comments 13 and 14 in task #14