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
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
ws.rb
wss.rb