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
normal aa93c62e3c lib/uri: performance improvements [misc #10628]
* lib/uri/generic.rb (split_userinfo): fstring for 1-byte split
  (set_port): reduce bytecode size
  (check_path): reduce garbage via opt_str_freeze
  (query=): ditto
  (fragment=): ditto
  [misc #10628]
* lib/uri/rfc3986_parser.rb (regexp): cache as attr
  (initialize): setup and freeze regexp attr once
  (split): reduce bytecode size, use opt_str_freeze
  (parse): minor bytecode and garbage reduction
  (default_regexp): rename for initialize

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48980 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-12-24 23:50:37 +00:00
..
common.rb
ftp.rb
generic.rb lib/uri: performance improvements [misc #10628] 2014-12-24 23:50:37 +00:00
http.rb
https.rb
ldap.rb
ldaps.rb
mailto.rb * lib/uri/mailto.rb (URI::MailTo::EMAIL_REGEXP): should escape #. 2014-11-20 15:19:17 +00:00
rfc2396_parser.rb lib/uri/rfc2396_parser.rb (initialize): reduce bytecode size 2014-11-06 01:14:15 +00:00
rfc3986_parser.rb lib/uri: performance improvements [misc #10628] 2014-12-24 23:50:37 +00:00