diff options
author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-08-01 03:43:14 +0000 |
---|---|---|
committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-08-01 03:43:14 +0000 |
commit | 93055423bdcc799c2b0ee4fd50f895d72baf878e (patch) | |
tree | eca1b808c03c0e76a2d5b74e49669c86e12455c6 /lib/time.rb | |
parent | 478bd3128c96b5e26e81ea23de6aa1a33e449218 (diff) | |
download | ruby-93055423bdcc799c2b0ee4fd50f895d72baf878e.tar.gz |
* bignum.c (big2str_alloc): New function to allocate the result string.
It is called after actual length is calculated.
(big2str_struct): Add fields: negative, result and ptr.
(big2str_orig): Write out the result via b2s->ptr.
(big2str_orig): Ditto.
(rb_big2str1): Don't allocate the result string at beginning.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42303 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/time.rb')
0 files changed, 0 insertions, 0 deletions