<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ruby.git/array.c, branch v1_8_6_49</title>
<subtitle>The Ruby Programming Language</subtitle>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/'/>
<entry>
<title>* array.c (rb_ary_shift): shorten copy size.  fixed: [ruby-list:42907]</title>
<updated>2006-10-18T13:57:43+00:00</updated>
<author>
<name>nobu</name>
<email>nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e</email>
</author>
<published>2006-10-18T13:57:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=aaf1dc156eba0ae626534a3248a95e6a3656717f'/>
<id>aaf1dc156eba0ae626534a3248a95e6a3656717f</id>
<content type='text'>
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@11187 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@11187 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
</pre>
</div>
</content>
</entry>
<entry>
<title>* array.c (rb_ary_shift): should not move memory region if array</title>
<updated>2006-10-01T14:45:38+00:00</updated>
<author>
<name>matz</name>
<email>matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e</email>
</author>
<published>2006-10-01T14:45:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=3c774662e10caf7849440bc5a48d794c8d1da09b'/>
<id>3c774662e10caf7849440bc5a48d794c8d1da09b</id>
<content type='text'>
  body is shared.  a patch from Kent Sibilev &lt;ksruby at gmail.com&gt;.
  [ruby-core:08922]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@11058 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
  body is shared.  a patch from Kent Sibilev &lt;ksruby at gmail.com&gt;.
  [ruby-core:08922]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@11058 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
</pre>
</div>
</content>
</entry>
<entry>
<title>* array.c (rb_ary_shift): should clear shifting top element.</title>
<updated>2006-09-24T23:17:42+00:00</updated>
<author>
<name>matz</name>
<email>matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e</email>
</author>
<published>2006-09-24T23:17:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=c451d96fe62f1a9549c271aed572682b1b6dbe46'/>
<id>c451d96fe62f1a9549c271aed572682b1b6dbe46</id>
<content type='text'>
  [ruby-talk:216055]

* array.c (rb_ary_shift): avoid creating shared object if array
  size is small.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@11016 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
  [ruby-talk:216055]

* array.c (rb_ary_shift): avoid creating shared object if array
  size is small.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@11016 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
</pre>
</div>
</content>
</entry>
<entry>
<title>comment rb_ary_new4 behavior in Ruby 1.9.</title>
<updated>2006-06-24T14:53:36+00:00</updated>
<author>
<name>akr</name>
<email>akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e</email>
</author>
<published>2006-06-24T14:53:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=ceb64ff9fc4fd4f9dcf987186f90019b1d9345a8'/>
<id>ceb64ff9fc4fd4f9dcf987186f90019b1d9345a8</id>
<content type='text'>
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10378 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10378 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
</pre>
</div>
</content>
</entry>
<entry>
<title>* ext/syck/emitter.c (syck_scan_scalar): avoid accessing</title>
<updated>2006-05-03T17:29:36+00:00</updated>
<author>
<name>matz</name>
<email>matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e</email>
</author>
<published>2006-05-03T17:29:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=704fbef5b620291e98e30010f75acac75874e7e5'/>
<id>704fbef5b620291e98e30010f75acac75874e7e5</id>
<content type='text'>
  uninitialized array element.  a patch from Pat Eyler
  &lt;rubypate at gmail.com&gt;.  [ruby-core:07809]

* array.c (rb_ary_fill): initialize local variables first.  a
  patch from Pat Eyler &lt;rubypate at gmail.com&gt;.  [ruby-core:07810]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10128 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
  uninitialized array element.  a patch from Pat Eyler
  &lt;rubypate at gmail.com&gt;.  [ruby-core:07809]

* array.c (rb_ary_fill): initialize local variables first.  a
  patch from Pat Eyler &lt;rubypate at gmail.com&gt;.  [ruby-core:07810]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10128 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
</pre>
</div>
</content>
</entry>
<entry>
<title>* array.c (rb_ary_fill): internalize local variable "beg" to</title>
<updated>2006-04-26T16:52:54+00:00</updated>
<author>
<name>matz</name>
<email>matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e</email>
</author>
<published>2006-04-26T16:52:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=8520eae4804837a02c743e73a37d7df929d0c170'/>
<id>8520eae4804837a02c743e73a37d7df929d0c170</id>
<content type='text'>
  pacify Coverity.  [ruby-core:07770]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10113 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
  pacify Coverity.  [ruby-core:07770]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10113 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
</pre>
</div>
</content>
</entry>
<entry>
<title>* array.c: document fix - remove reference of obsoleted</title>
<updated>2005-12-22T07:08:51+00:00</updated>
<author>
<name>matz</name>
<email>matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e</email>
</author>
<published>2005-12-22T07:08:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=2be9ea9ce1759333564175205ee1b5dc05b990aa'/>
<id>2be9ea9ce1759333564175205ee1b5dc05b990aa</id>
<content type='text'>
  select usage.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9732 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
  select usage.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9732 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
</pre>
</div>
</content>
</entry>
<entry>
<title>* array.c (rb_ary_diff): fix a GC problem on IA64 with</title>
<updated>2005-12-12T16:47:17+00:00</updated>
<author>
<name>akr</name>
<email>akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e</email>
</author>
<published>2005-12-12T16:47:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=205f93b5678463b02a70ba3d656962df0ec62446'/>
<id>205f93b5678463b02a70ba3d656962df0ec62446</id>
<content type='text'>
  gcc 3.3.5 (Debian 1:3.3.5-13).
  When rb_ary_push is called, there was no register which contains
  `hash' but `&amp;RHASH(hash)-&gt;tbl' instead.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9683 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
  gcc 3.3.5 (Debian 1:3.3.5-13).
  When rb_ary_push is called, there was no register which contains
  `hash' but `&amp;RHASH(hash)-&gt;tbl' instead.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9683 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
</pre>
</div>
</content>
</entry>
<entry>
<title>* array.c (rb_ary_fill): previous commit disabled this usage:</title>
<updated>2005-11-15T07:38:38+00:00</updated>
<author>
<name>ocean</name>
<email>ocean@b2dd03c8-39d4-4d8f-98ff-823fe69b080e</email>
</author>
<published>2005-11-15T07:38:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=e23aa93e5b35da0e9eba75cae8482e8ea47c00d8'/>
<id>e23aa93e5b35da0e9eba75cae8482e8ea47c00d8</id>
<content type='text'>
    a = [0,1,2,3,4,5,6,7,8,9]
    a.fill {|i| a[i] * 10} #=&gt; [nil, nil, ...., nil]

  previous commit has advantange for early garbage collection, but
  potensially would break some script. so I reverted behavior.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9543 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
    a = [0,1,2,3,4,5,6,7,8,9]
    a.fill {|i| a[i] * 10} #=&gt; [nil, nil, ...., nil]

  previous commit has advantange for early garbage collection, but
  potensially would break some script. so I reverted behavior.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9543 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
</pre>
</div>
</content>
</entry>
<entry>
<title>* array.c (rb_ary_fill): tail elements were vanished when the middle</title>
<updated>2005-11-15T07:06:00+00:00</updated>
<author>
<name>ocean</name>
<email>ocean@b2dd03c8-39d4-4d8f-98ff-823fe69b080e</email>
</author>
<published>2005-11-15T07:06:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=518851f88d2bf0a66b829f8f05373f8ac8d1fdc4'/>
<id>518851f88d2bf0a66b829f8f05373f8ac8d1fdc4</id>
<content type='text'>
  part of array was filled. (ie: [0,1,2,3,4].fill(-1,2,1) =&gt; [0,1,-1])

* test/ruby/test_array.rb (test_fill): added.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9541 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
  part of array was filled. (ie: [0,1,2,3,4].fill(-1,2,1) =&gt; [0,1,-1])

* test/ruby/test_array.rb (test_fill): added.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9541 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
</pre>
</div>
</content>
</entry>
</feed>
