1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/lib
Joao Fernandes 05a28ce5b1 [ruby/base64] Improve Base64.urlsafe_encode64 performance
Improves the method's performance when asked to remove padding.

str.delete!("=") iterates over the entire string looking for the equals
character, but we know that we will, at most, find two at the end of the
string.

https://github.com/ruby/base64/commit/544e0c2cf7
2021-09-27 15:23:04 +09:00
..
benchmark [ruby/benchmark] gemspec: Explicitly have 0 executables 2021-04-22 11:51:37 +09:00
bundler [rubygems/rubygems] Fix possible malicious website to example.com 2021-09-22 10:14:04 +09:00
cgi [ruby/cgi] Use Time#strftime 2021-09-03 17:50:00 +09:00
csv [ruby/csv] Bump version 2020-12-27 15:26:24 +09:00
delegate
did_you_mean Use String#include? instead of end_with? to avoid message duplication 2021-06-29 15:49:51 +09:00
drb Added ruby2_keywords for Ruby 2.5 and 2.6 2021-01-18 20:41:33 +09:00
erb [ruby/erb] Version 2.2.3 2021-03-26 12:37:37 +09:00
error_highlight ast.c: Rename "save_script_lines" to "keep_script_lines" 2021-08-20 16:18:36 +09:00
forwardable [ruby/forwardable] gemspec: Explicitly empty the executables list 2021-04-21 20:41:52 +09:00
getoptlong [ruby/getoptlong] gemspec: Drop executables directives 2021-07-28 13:32:32 +09:00
irb [ruby/irb] Add doc about "echo on assignment" 2021-09-27 03:23:48 +09:00
logger [ruby/logger] gemspec: Drop unused "executables" configuration 2021-09-15 08:49:23 +09:00
net [ruby/net-http] Enforce write timeout when body_stream is used 2021-07-29 15:53:54 +09:00
observer
optparse [ruby/optparse] Moved rdoc files to doc/optparse 2021-04-11 09:03:36 +09:00
ostruct Update library versions of the default gems. 2020-12-22 21:45:28 +09:00
pstore
racc [ruby/racc] gemspec: Link to https in homepage [ci skip] 2021-09-15 16:55:12 +09:00
rdoc [ruby/rdoc] Convert upper case copyright and registered marks 2021-09-11 17:03:52 +09:00
reline [ruby/reline] ^K is kill-line and ^U is unix-line-discard for inputrc 2021-09-27 01:16:15 +09:00
rinda Added dependencies for rinda 2020-12-04 20:21:41 +09:00
rubygems [rubygems/rubygems] Revert "Fix an issue causing nested Gem::Uri instances" 2021-09-24 10:57:15 +09:00
set [ruby/set] gemspec: This gem exposes 0 executables 2021-07-29 14:18:33 +09:00
singleton
timeout
unicode_normalize Update lib/unicode_normalize/tables.rb to Unicode version 13.0.0 2021-07-08 14:45:03 +09:00
uri Update to latest uri 2021-07-28 12:26:31 +02:00
weakref Added dependencies for weakref 2020-12-01 19:48:24 +09:00
yaml Workaround with fbb4e3f96c in yaml/store.rb 2021-05-17 12:57:41 +09:00
.document Remove unnecessary files from .document 2020-12-20 16:00:13 +09:00
abbrev.gemspec [ruby/abbrev] gemspec: Explicitly empty executables list 2021-04-21 20:39:04 +09:00
abbrev.rb
base64.gemspec [ruby/base64] gemspec: Use an explicit file list 2021-04-21 20:41:26 +09:00
base64.rb [ruby/base64] Improve Base64.urlsafe_encode64 performance 2021-09-27 15:23:04 +09:00
benchmark.rb [ruby/benchmark] Add comment about terminating newline in captions; fix test method name. 2021-04-22 11:51:37 +09:00
bundler.rb [rubygems/rubygems] Remove syck traces from bundler 2021-08-31 19:06:14 +09:00
cgi.rb Update library versions of the default gems. 2020-12-22 21:45:28 +09:00
csv.rb [ruby/csv] Fix typo [ci skip] 2020-12-27 15:27:46 +09:00
debug.gemspec Promote debug.rb to default gems. 2020-10-30 21:45:23 +09:00
debug.rb
delegate.rb Update library versions of the default gems. 2020-12-22 21:45:28 +09:00
did_you_mean.rb
drb.rb
English.gemspec Update library versions of the default gems. 2020-12-22 21:45:28 +09:00
English.rb
erb.gemspec [ruby/erb] Clarify supported ruby versions in gemspec 2021-03-26 12:35:52 +09:00
erb.rb [ruby/erb] Document that <% # doesn't work 2021-05-05 23:13:27 -07:00
error_highlight.rb Rename error_squiggle to error_highlight 2021-06-29 23:45:49 +09:00
fileutils.gemspec [ruby/fileutils] Drop support for dead old versions 2021-01-17 12:20:55 +09:00
fileutils.rb [ruby/fileutils] Removed code for dead versions 2021-01-17 12:20:57 +09:00
find.gemspec
find.rb [ruby/find] Add Errno::EINVAL to list of ignored errors 2021-07-27 21:20:31 +09:00
forwardable.rb Prefer qualified names under Thread 2021-06-29 11:41:10 +09:00
getoptlong.rb [ruby/getoptlong] RDoc: escape to avoid links to the word Set 2021-07-28 13:32:33 +09:00
ipaddr.gemspec [ruby/ipaddr] fixup 90b46678a5b09ed32612b0629b7c51c6d39a0444 2020-12-03 17:48:32 +09:00
ipaddr.rb
irb.rb [ruby/irb] Add doc about "echo on assignment" 2021-09-27 03:23:48 +09:00
logger.rb [ruby/logger] Replace "iff" with "if and only if" 2021-04-20 21:19:41 +09:00
mkmf.rb Get rid of incompatible-pointer-types-discards-qualifiers warning 2021-09-02 08:47:47 +09:00
mutex_m.gemspec Update library versions of the default gems. 2020-12-22 21:45:28 +09:00
mutex_m.rb Prefer qualified names under Thread 2021-06-29 11:41:10 +09:00
observer.rb Update library versions of the default gems. 2020-12-22 21:45:28 +09:00
open-uri.gemspec Added dependencies for open-uri 2020-12-01 19:48:24 +09:00
open-uri.rb Guard for the ftp protocol feature of OpenURI 2021-05-27 14:42:11 +09:00
open3.gemspec Manually picked 724bdb8e1d 2020-09-14 14:07:37 +09:00
open3.rb Update library versions of the default gems. 2020-12-22 21:45:28 +09:00
optionparser.rb
optparse.rb [ruby/optparse] More on tutorial (https://github.com/ruby/optparse/pull/23) 2021-07-28 20:13:39 +09:00
ostruct.rb [DOC] Fix broken links [ci skip] 2021-09-15 14:16:14 +09:00
pp.gemspec [ruby/pp] Bump version to 0.2.0 2021-04-21 20:45:23 +09:00
pp.rb [ruby/pp] Support < Ruby 3.0 2021-04-21 20:44:55 +09:00
prettyprint.gemspec Promote prettyprint to default gems 2020-10-08 16:40:46 +09:00
prettyprint.rb
pstore.rb Update library versions of the default gems. 2020-12-22 21:45:28 +09:00
racc.rb
rdoc.rb
readline.gemspec Update the latest version of readline.gemspec 2021-07-29 16:20:10 +09:00
readline.rb
reline.rb [ruby/reline] Move #pointer from DialogRenderInfo to Dialog 2021-09-10 11:38:54 +09:00
resolv-replace.gemspec [ruby/resolv-replace] gemspec: Drop executables directive 2021-07-28 13:32:33 +09:00
resolv-replace.rb
resolv.gemspec [ruby/resolv] Bump version to 0.2.1 2021-07-28 13:32:33 +09:00
resolv.rb [ruby/resolv] Fix confusion of received response message 2021-05-11 12:37:34 +09:00
ruby2_keywords.gemspec Adjust the release version of ruby2_keywords 2021-07-16 13:50:15 +09:00
rubygems.rb [rubygems/rubygems] Prefer require_relative to require for internal requires 2021-08-31 19:06:14 +09:00
securerandom.gemspec Promote securerandom to default gems 2020-09-11 21:15:25 +09:00
securerandom.rb [ruby/securerandom] [DOC] fix a code mark up [ci skip] 2021-08-24 19:29:54 +09:00
set.rb [ruby/set] Improve What's Here links 2021-07-29 14:18:52 +09:00
shellwords.gemspec Promote shellwords to default gems 2020-09-10 18:56:17 +09:00
shellwords.rb
singleton.rb Update library versions of the default gems. 2020-12-22 21:45:28 +09:00
tempfile.gemspec Update library versions of the default gems. 2020-12-22 21:45:28 +09:00
tempfile.rb Small grammar fixes 2021-09-01 09:15:57 +09:00
time.gemspec Added dependencies for time 2020-12-01 19:48:24 +09:00
time.rb Revert "disable shareable_constant_value for CI" 2021-04-26 22:46:51 +09:00
timeout.rb [ruby/timeout] Only run timeout_after hook on fiber scheduler if scheduler exists 2021-05-06 16:51:10 +09:00
tmpdir.gemspec [ruby/tmpdir] Bump version to 0.1.2 2021-04-05 21:08:58 +09:00
tmpdir.rb [ruby/tmpdir] Make usable chars more strict 2021-04-05 21:08:57 +09:00
tsort.gemspec Promote tsort to default gems 2020-09-09 21:53:09 +09:00
tsort.rb
un.gemspec [ruby/un] gemspec: Explicitly list 0 executables 2021-08-24 18:02:44 +09:00
un.rb [ruby/un] Use STDIN if no arguments 2021-08-24 18:02:44 +09:00
uri.rb Fix test failure for parallel testing 2021-07-27 17:34:13 +09:00
weakref.rb Update library versions of the default gems. 2020-12-22 21:45:28 +09:00
yaml.rb