summaryrefslogtreecommitdiff
path: root/benchmark/bm_so_array.rb
diff options
context:
space:
mode:
Diffstat (limited to 'benchmark/bm_so_array.rb')
-rw-r--r--benchmark/bm_so_array.rb23
1 files changed, 0 insertions, 23 deletions
diff --git a/benchmark/bm_so_array.rb b/benchmark/bm_so_array.rb
deleted file mode 100644
index 2b8fce8f99..0000000000
--- a/benchmark/bm_so_array.rb
+++ /dev/null
@@ -1,23 +0,0 @@
-#!/usr/bin/ruby
-# -*- mode: ruby -*-
-# $Id: ary-ruby.code,v 1.4 2004/11/13 07:41:27 bfulgham Exp $
-# http://www.bagley.org/~doug/shootout/
-# with help from Paul Brannan and Mark Hubbart
-
-n = 9000 # Integer(ARGV.shift || 1)
-
-x = Array.new(n)
-y = Array.new(n, 0)
-
-n.times{|bi|
- x[bi] = bi + 1
-}
-
-(0 .. 999).each do |e|
- (n-1).step(0,-1) do |bi|
- y[bi] += x.at(bi)
- end
-end
-# puts "#{y.first} #{y.last}"
-
-
30String#[] with index to extract matched substring safelyNobuyoshi Nakada 2019-04-30**Must** use IO::NULL for null deviceNAKAMURA Usaku 2019-04-29Fully support Git in tool/merger.rbTakashi Kokubun as both backport source repository and backport destination repository. 2019-04-29* remove trailing spaces.git 2019-04-29tool/merger.rb: Avoid making too-deep indentationTakashi Kokubun because it's hard to understand what's going on when indentation depth is too deep. Sorry for polluting git blame, but most of the Merger's lines are updated recently anyway. 2019-04-29Support `tool/merger.rb removetag` under GitTakashi Kokubun repository. 2019-04-29Support `tool/merger.rb tag` under Git repositoryTakashi Kokubun 2019-04-28Support `tool/merger.rb up` under Git repositoryTakashi Kokubun updating indentation (and slightly changing styles) for areas already supporting Git. 2019-04-28Fix wrong svn optionsTakashi Kokubun for SVN as a backport source. This was a mistake in de5378233b2ff5434f024ac66285e699794a321d... 2019-04-28Stop using global variable for reposTakashi Kokubun to avoid having impact from other places. 2019-04-28Now tool/merger.rb may use Git [ci skip]Takashi Kokubun 2019-04-28Drop SVN-specific method from Merger moduleTakashi Kokubun to clarify it's not needed for Git support. 2019-04-28Make Merger.version private to the moduleTakashi Kokubun because it's not used outside the Module. 2019-04-28Define merger.rb's methods under Merger namespaceTakashi Kokubun so that we do not monkey-patch all classes by defining methods on top-level (Object class). Not arranging indentation in it to keep `git blame` for now. 2019-04-21tool/merger.rb: Guard match failure properlyk0kubun git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67694 b2dd03c8-39d4-4d8f-98ff-823fe69b080e 2019-04-21tool/merger.rb: Support fetching patch from cgitk0kubun git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67693 b2dd03c8-39d4-4d8f-98ff-823fe69b080e 2019-04-21tool/merger.rb: Drop ChangeLog handlingk0kubun We're not writing ChangeLog since ruby_2_4. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67692 b2dd03c8-39d4-4d8f-98ff-823fe69b080e 2019-04-21Drop obsoleted feature from helpk0kubun I understand this is dropped in r67569 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67689 b2dd03c8-39d4-4d8f-98ff-823fe69b080e 2019-04-21tool/merger.rb: Drop some revision notations.k0kubun Maintainer use merger mainly from redmine-backporter.rb. [Fix GH-2136] From: Chikanaga Tomoyuki <t-chikanaga@groovenauts.jp> git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67659 b2dd03c8-39d4-4d8f-98ff-823fe69b080e 2019-04-21tool/merger.rb: Remove unused command line format.k0kubun I believe no-one use this notation for years. [Fix GH-2136] From: Chikanaga Tomoyuki <t-chikanaga@groovenauts.jp> git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67658 b2dd03c8-39d4-4d8f-98ff-823fe69b080e 2018-12-28Moved version numbersnobu * Define major and minor version numbers only in the public include/ruby/version.h header, as the API version numbers. * Define only teeny version number in the private version.h header. * RUBY_VERSION moved to version.c. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66599 b2dd03c8-39d4-4d8f-98ff-823fe69b080e 2018-12-25Keep RUBY_RELEASE_DATE's definitionnaruse if it uses Y/M/D macros. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66550 b2dd03c8-39d4-4d8f-98ff-823fe69b080e 2018-10-18remove message already unnecesaryusa git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65140 b2dd03c8-39d4-4d8f-98ff-823fe69b080e