1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/lib/uri
Steven Harman bbee6968f8 [ruby/uri] Use Regexp#match? to avoid extra allocations
`#=~` builds `MatchData`, requiring extra allocations as compared to
`#match?`, which returns a boolean w/o having to build the `MatchData`.

https://github.com/ruby/uri/commit/158f58a9cc
2021-04-22 14:55:44 +09:00
..
common.rb [ruby/uri] Use Regexp#match? to avoid extra allocations 2021-04-22 14:55:44 +09:00
file.rb
ftp.rb
generic.rb [ruby/uri] Optimize URI#hostname and URI#hostname= 2021-04-22 14:54:28 +09:00
http.rb
https.rb
ldap.rb
ldaps.rb
mailto.rb
rfc2396_parser.rb [ruby/uri] Only use UnboundMethod#bind_call if it is available 2021-04-22 14:54:47 +09:00
rfc3986_parser.rb [ruby/uri] Only use UnboundMethod#bind_call if it is available 2021-04-22 14:54:47 +09:00
uri.gemspec [ruby/uri] Set required_ruby_version to 2.4 in gemspec 2021-04-22 14:54:56 +09:00
version.rb Update library versions of the default gems. 2020-12-22 21:45:28 +09:00
ws.rb
wss.rb