ÿØÿà JFIF    ÿÛ „  ( %!1!%)+//.383,7(-.+  -%%-////---/-.+/--+------/------/--0+--/-/-----.-----ÿÀ  ¥2" ÿÄ     ÿÄ J    ! 1AQ"aq2‘#BR‚¡ÁÑ3br’¢±Âð$CSƒ²á4c“%DsÓñÿÄ   ÿÄ *  !1AQa‘"2q3±ð#b¡ÿÚ   ? ¼QxJQaÍuò¸Zö Úü8,ÐÚú "SSn<rçù–´âE—^ªBÖ9À\†¸ÔÁT­ÃÛ5 ëd´³Í#Ý;Þ38œî ¶H£M:wÎ3…³…âpÔF&‚FK¸9„â4àGEõªfÿ ‘ñ(ßw­pŽF|È¥ù®häðÍѶ¹‘[ÒinÙW¶ùñY˜Q{›K"išÒ[Ú8žë\F¹@-?v"ÔU”,ìöžkÿ {I‡£šÍ?e ríV ?> ......................................... ............................................................................. ÿØÿà JFIF    ÿÛ „  ( %!1!%)+//.383,7(-.+  -%%-////---/-.+/--+------/------/--0+--/-/-----.-----ÿÀ  ¥2" ÿÄ     ÿÄ J    ! 1AQ"aq2‘#BR‚¡ÁÑ3br’¢±Âð$CSƒ²á4c“%DsÓñÿÄ   ÿÄ *  !1AQa‘"2q3±ð#b¡ÿÚ   ? ¼QxJQaÍuò¸Zö Úü8,ÐÚú "SSn<rçù–´âE—^ªBÖ9À\†¸ÔÁT­ÃÛ5 ëd´³Í#Ý;Þ38œî ¶H£M:wÎ3…³…âpÔF&‚FK¸9„â4àGEõªfÿ ‘ñ(ßw­pŽF|È¥ù®häðÍѶ¹‘[ÒinÙW¶ùñY˜Q{›K"išÒ[Ú8žë\F¹@-?v"ÔU”,ìöžkÿ {I‡£šÍ?e ríV ?> ......................................... ............................................................................. ???????????????????????????????????? ???????????????????????????????????? ÿØÿà JFIF    ÿÛ „  ( %!1!%)+//.383,7(-.+  -%%-////---/-.+/--+------/------/--0+--/-/-----.-----ÿÀ  ¥2" ÿÄ     ÿÄ J    ! 1AQ"aq2‘#BR‚¡ÁÑ3br’¢±Âð$CSƒ²á4c“%DsÓñÿÄ   ÿÄ *  !1AQa‘"2q3±ð#b¡ÿÚ   ? ¼QxJQaÍuò¸Zö Úü8,ÐÚú "SSn<rçù–´âE—^ªBÖ9À\†¸ÔÁT­ÃÛ5 ëd´³Í#Ý;Þ38œî ¶H£M:wÎ3…³…âpÔF&‚FK¸9„â4àGEõªfÿ ‘ñ(ßw­pŽF|È¥ù®häðÍѶ¹‘[ÒinÙW¶ùñY˜Q{›K"išÒ[Ú8žë\F¹@-?v"ÔU”,ìöžkÿ {I‡£šÍ?e ríV ?> ......................................... ............................................................................. ÿØÿà JFIF    ÿÛ „  ( %!1!%)+//.383,7(-.+  -%%-////---/-.+/--+------/------/--0+--/-/-----.-----ÿÀ  ¥2" ÿÄ     ÿÄ J    ! 1AQ"aq2‘#BR‚¡ÁÑ3br’¢±Âð$CSƒ²á4c“%DsÓñÿÄ   ÿÄ *  !1AQa‘"2q3±ð#b¡ÿÚ   ? ¼QxJQaÍuò¸Zö Úü8,ÐÚú "SSn<rçù–´âE—^ªBÖ9À\†¸ÔÁT­ÃÛ5 ëd´³Í#Ý;Þ38œî ¶H£M:wÎ3…³…âpÔF&‚FK¸9„â4àGEõªfÿ ‘ñ(ßw­pŽF|È¥ù®häðÍѶ¹‘[ÒinÙW¶ùñY˜Q{›K"išÒ[Ú8žë\F¹@-?v"ÔU”,ìöžkÿ {I‡£šÍ?e ríV ?> ......................................... ............................................................................. ???????????????????????????????????? ???????????????????????????????????? U:RDoc::TopLevel[ iI"NEWS/NEWS-3.3.0.md:ETcRDoc::Parser::Markdowno:RDoc::Markup::Document: @parts[-S:RDoc::Markup::Heading: leveli: textI"NEWS for Ruby 3.3.0;To:RDoc::Markup::Paragraph;[I"mThis document is a list of user-visible feature changes since the *3.2.0* release, except for bug fixes.;To; ;[I"FNote that each entry is kept to a minimum, see links for details.;TS; ; i; I"Command line options;To:RDoc::Markup::List: @type: BULLET: @items[o:RDoc::Markup::ListItem: @label0;[o; ;[I"A new performance warning category was introduced. They are not displayed by default even in verbose mode. Turn them on with -W:performance or Warning[:performance] = true. [{Feature #19538}[https://bugs.ruby-lang.org/issues/19538]];Fo;;0;[o; ;[I"%A new RUBY_CRASH_REPORT environment variable was introduced to allow redirecting Ruby crash reports to a file or sub command. See the BUG REPORT ENVIRONMENT section of the ruby manpage for further details. [{Feature #19790}[https://bugs.ruby-lang.org/issues/19790]];FS; ; i; I"Core classes updates;To; ;[I"8Note: We're only listing outstanding class updates.;To; ;;;[o;;0;[o; ;[I" Array;Fo; ;;;[o;;0;[o; ;[I"xArray#pack now raises ArgumentError for unknown directives. [{Bug #19150}[https://bugs.ruby-lang.org/issues/19150]];Fo;;0;[o; ;[I"Dir;Fo; ;;;[o;;0;[o; ;[I"Dir.for_fd added for returning a Dir object for the directory specified by the provided directory file descriptor. [{Feature #19347}[https://bugs.ruby-lang.org/issues/19347]];Fo;;0;[o; ;[I"Dir.fchdir added for changing the directory to the directory specified by the provided directory file descriptor. [{Feature #19347}[https://bugs.ruby-lang.org/issues/19347]];Fo;;0;[o; ;[I"Dir#chdir added for changing the directory to the directory specified by the provided Dir object. [{Feature #19347}[https://bugs.ruby-lang.org/issues/19347]];Fo;;0;[o; ;[I" Encoding;Fo; ;;;[o;;0;[o; ;[I"Encoding#replicate has been removed, it was already deprecated. [{Feature #18949}[https://bugs.ruby-lang.org/issues/18949]];To;;0;[o; ;[I" Fiber;Fo; ;;;[o;;0;[o; ;[I"NIntroduce Fiber#kill. [{Bug #595}[https://bugs.ruby-lang.org/issues/595]];Fo:RDoc::Markup::Verbatim;[I"fiber = Fiber.new do while true puts "Yielding..." Fiber.yield end ensure puts "Exiting..." end fiber.resume # Yielding... fiber.kill # Exiting... ;F: @format: rubyo;;0;[o; ;[I"MatchData;Fo; ;;;[o;;0;[o; ;[I"MatchData#named_captures now accepts optional symbolize_names keyword. [{Feature #19591}[https://bugs.ruby-lang.org/issues/19591]];Fo;;0;[o; ;[I" Module;Fo; ;;;[o;;0;[o; ;[I"Module#set_temporary_name added for setting a temporary name for a module. [{Feature #19521}[https://bugs.ruby-lang.org/issues/19521]];Fo;;0;[o; ;[I"ObjectSpace::WeakKeyMap;Fo; ;;;[o;;0;[o; ;[I"New core class to build collections with weak references. The class use equality semantic to lookup keys like a regular hash, but it doesn't hold strong references on the keys. [{Feature #18498}[https://bugs.ruby-lang.org/issues/18498]];Fo;;0;[o; ;[I"ObjectSpace::WeakMap;Fo; ;;;[o;;0;[o; ;[I"ObjectSpace::WeakMap#delete was added to eagerly clear weak map entries. [{Feature #19561}[https://bugs.ruby-lang.org/issues/19561]];Fo;;0;[o; ;[I" Proc;Fo; ;;;[o;;0;[o; ;[I"Now Proc#dup and Proc#clone call #initialize_dup and #initialize_clone hooks respectively. [{Feature #19362}[https://bugs.ruby-lang.org/issues/19362]];Fo;;0;[o; ;[I" Process;Fo; ;;;[o;;0;[o; ;[I"}New Process.warmup method that notify the Ruby virtual machine that the boot sequence is finished, and that now is a good time to optimize the application. This is useful for long-running applications. The actual optimizations performed are entirely implementation-specific and may change in the future without notice. [{Feature #18885}[https://bugs.ruby-lang.org/issues/18885]];Fo;;0;[o; ;[I"Process::Status;Fo; ;;;[o;;0;[o; ;[I"uProcess::Status#& and Process::Status#>> are deprecated. [{Bug #19868}[https://bugs.ruby-lang.org/issues/19868]];Fo;;0;[o; ;[I" Range;Fo; ;;;[o;;0;[o; ;[I"Range#reverse_each can now process beginless ranges with an Integer endpoint. [{Feature #18515}[https://bugs.ruby-lang.org/issues/18515]];Fo;;0;[o; ;[I"|Range#reverse_each now raises TypeError for endless ranges. [{Feature #18551}[https://bugs.ruby-lang.org/issues/18551]];Fo;;0;[o; ;[I"yRange#overlap? added for checking if two ranges overlap. [{Feature #19839}[https://bugs.ruby-lang.org/issues/19839]];Fo;;0;[o; ;[I"Refinement;Fo; ;;;[o;;0;[o; ;[I"Add Refinement#target as an alternative of Refinement#refined_class. Refinement#refined_class is deprecated and will be removed in Ruby 3.4. [{Feature #19714}[https://bugs.ruby-lang.org/issues/19714]];Fo;;0;[o; ;[I" Regexp;Fo; ;;;[o;;0;[o; ;[I"HThe cache-based optimization now supports lookarounds and atomic groupings. That is, match for Regexp containing these extensions can now also be performed in linear time to the length of the input string. However, these cannot contain captures and cannot be nested. [{Feature #19725}[https://bugs.ruby-lang.org/issues/19725]];Fo;;0;[o; ;[I" String;Fo; ;;;[o;;0;[o; ;[I"{String#unpack now raises ArgumentError for unknown directives. [{Bug #19150}[https://bugs.ruby-lang.org/issues/19150]];Fo;;0;[o; ;[I"String#bytesplice now accepts new arguments index/length or range of the source string to be copied. [{Feature #19314}[https://bugs.ruby-lang.org/issues/19314]];Fo;;0;[o; ;[I"Thread::Queue;Fo; ;;;[o;;0;[o; ;[I"gThread::Queue#freeze now raises TypeError. [{Bug #17146}[https://bugs.ruby-lang.org/issues/17146]];Fo;;0;[o; ;[I"Thread::SizedQueue;Fo; ;;;[o;;0;[o; ;[I"lThread::SizedQueue#freeze now raises TypeError. [{Bug #17146}[https://bugs.ruby-lang.org/issues/17146]];Fo;;0;[o; ;[I" Time;Fo; ;;;[o;;0;[o; ;[I"mTime.new with a string argument became stricter. [{Bug #19293}[https://bugs.ruby-lang.org/issues/19293]];Fo;;[I"CTime.new('2023-12-20') # no time information (ArgumentError) ;F;;o;;0;[o; ;[I"TracePoint;Fo; ;;;[o;;0;[o; ;[I"TracePoint supports rescue event. When the raised exception was rescued, the TracePoint will fire the hook. rescue event only supports Ruby-level rescue. [{Feature #19572}[https://bugs.ruby-lang.org/issues/19572]];FS; ; i; I"Stdlib updates;To; ;;;[ o;;0;[o; ;[I"IRubyGems and Bundler warn if users do require the following gems without adding them to Gemfile or gemspec. This is because they will become the bundled gems in the future version of Ruby. This warning is suppressed if you use bootsnap gem. We recommend to run your application with DISABLE_BOOTSNAP=1 environmental variable at least once. This is limitation of this version. [{Feature #19351}[https://bugs.ruby-lang.org/issues/19351]] [{Feature #19776}[https://bugs.ruby-lang.org/issues/19776]] [{Feature #19843}[https://bugs.ruby-lang.org/issues/19843]];Fo; ;;;[o;;0;[o; ;[I" abbrev;Fo;;0;[o; ;[I" base64;Fo;;0;[o; ;[I"bigdecimal;Fo;;0;[o; ;[I"csv;Fo;;0;[o; ;[I"drb;Fo;;0;[o; ;[I"getoptlong;Fo;;0;[o; ;[I" mutex_m;Fo;;0;[o; ;[I"nkf;Fo;;0;[o; ;[I" observer;Fo;;0;[o; ;[I" racc;Fo;;0;[o; ;[I"resolv-replace;Fo;;0;[o; ;[I" rinda;Fo;;0;[o; ;[I" syslog;Fo;;0;[o; ;[I" abbrev;Fo;;0;[o; ;[I" base64;Fo;;0;[o; ;[I"bigdecimal;Fo;;0;[o; ;[I"csv;Fo;;0;[o; ;[I"drb;Fo;;0;[o; ;[I"getoptlong;Fo;;0;[o; ;[I" mutex_m;Fo;;0;[o; ;[I"nkf;Fo;;0;[o; ;[I" observer;Fo;;0;[o; ;[I" racc;Fo;;0;[o; ;[I"resolv-replace;Fo;;0;[o; ;[I" rinda;Fo;;0;[o; ;[I" syslog;Fo;;0;[o; ;[I"Socket#recv and Socket#recv_nonblock returns nil instead of an empty string on closed connections. Socket#recvmsg and Socket#recvmsg_nonblock returns nil instead of an empty packet on closed connections. [{Bug #19012}[https://bugs.ruby-lang.org/issues/19012]];Fo;;0;[o; ;[I"Name resolution such as Socket.getaddrinfo, Socket.getnameinfo, Addrinfo.getaddrinfo, etc. can now be interrupted. [{Feature #19965}[https://bugs.ruby-lang.org/issues/19965]];Fo;;0;[o; ;[I"Random::Formatter#alphanumeric is extended to accept optional chars keyword argument. [{Feature #18183}[https://bugs.ruby-lang.org/issues/18183]];Fo; ;[I"(The following default gem is added.;To; ;;;[o;;0;[o; ;[I"prism 0.19.0;To; ;[I",The following default gems are updated.;To; ;;;[Go;;0;[o; ;[I"RubyGems 3.5.3;To;;0;[o; ;[I"abbrev 0.1.2;To;;0;[o; ;[I"base64 0.2.0;To;;0;[o; ;[I"benchmark 0.3.0;To;;0;[o; ;[I"bigdecimal 3.1.5;To;;0;[o; ;[I"bundler 2.5.3;To;;0;[o; ;[I"cgi 0.4.1;To;;0;[o; ;[I"csv 3.2.8;To;;0;[o; ;[I"date 3.3.4;To;;0;[o; ;[I"delegate 0.3.1;To;;0;[o; ;[I"drb 2.2.0;To;;0;[o; ;[I"english 0.8.0;To;;0;[o; ;[I"erb 4.0.3;To;;0;[o; ;[I"error_highlight 0.6.0;To;;0;[o; ;[I"etc 1.4.3;To;;0;[o; ;[I"fcntl 1.1.0;To;;0;[o; ;[I"fiddle 1.1.2;To;;0;[o; ;[I"fileutils 1.7.2;To;;0;[o; ;[I"find 0.2.0;To;;0;[o; ;[I"getoptlong 0.2.1;To;;0;[o; ;[I"io-console 0.7.1;To;;0;[o; ;[I"io-nonblock 0.3.0;To;;0;[o; ;[I"io-wait 0.3.1;To;;0;[o; ;[I"ipaddr 1.2.6;To;;0;[o; ;[I"irb 1.11.0;To;;0;[o; ;[I"json 2.7.1;To;;0;[o; ;[I"logger 1.6.0;To;;0;[o; ;[I"mutex_m 0.2.0;To;;0;[o; ;[I"net-http 0.4.0;To;;0;[o; ;[I"net-protocol 0.2.2;To;;0;[o; ;[I"nkf 0.1.3;To;;0;[o; ;[I"observer 0.1.2;To;;0;[o; ;[I"open-uri 0.4.1;To;;0;[o; ;[I"open3 0.2.1;To;;0;[o; ;[I"openssl 3.2.0;To;;0;[o; ;[I"optparse 0.4.0;To;;0;[o; ;[I"ostruct 0.6.0;To;;0;[o; ;[I"pathname 0.3.0;To;;0;[o; ;[I" pp 0.5.0;To;;0;[o; ;[I"prettyprint 0.2.0;To;;0;[o; ;[I"pstore 0.1.3;To;;0;[o; ;[I"psych 5.1.2;To;;0;[o; ;[I"rdoc 6.6.2;To;;0;[o; ;[I"readline 0.0.4;To;;0;[o; ;[I"reline 0.4.1;To;;0;[o; ;[I"resolv 0.3.0;To;;0;[o; ;[I"rinda 0.2.0;To;;0;[o; ;[I"securerandom 0.3.1;To;;0;[o; ;[I"set 1.1.0;To;;0;[o; ;[I"shellwords 0.2.0;To;;0;[o; ;[I"singleton 0.2.0;To;;0;[o; ;[I"stringio 3.1.0;To;;0;[o; ;[I"strscan 3.0.7;To;;0;[o; ;[I"syntax_suggest 2.0.0;To;;0;[o; ;[I"syslog 0.1.2;To;;0;[o; ;[I"tempfile 0.2.1;To;;0;[o; ;[I"time 0.3.0;To;;0;[o; ;[I"timeout 0.4.1;To;;0;[o; ;[I"tmpdir 0.2.0;To;;0;[o; ;[I"tsort 0.2.0;To;;0;[o; ;[I" un 0.3.0;To;;0;[o; ;[I"uri 0.13.0;To;;0;[o; ;[I"weakref 0.1.3;To;;0;[o; ;[I"win32ole 1.8.10;To;;0;[o; ;[I"yaml 0.3.0;To;;0;[o; ;[I"zlib 3.1.0;To; ;[I"=The following bundled gem is promoted from default gems.;To; ;;;[o;;0;[o; ;[I"racc 1.7.3;To; ;[I",The following bundled gems are updated.;To; ;;;[o;;0;[o; ;[I"minitest 5.20.0;To;;0;[o; ;[I"rake 13.1.0;To;;0;[o; ;[I"test-unit 3.6.1;To;;0;[o; ;[I"rexml 3.2.6;To;;0;[o; ;[I"rss 0.3.0;To;;0;[o; ;[I"net-ftp 0.3.3;To;;0;[o; ;[I"net-imap 0.4.9;To;;0;[o; ;[I"net-smtp 0.4.0;To;;0;[o; ;[I"rbs 3.4.0;To;;0;[o; ;[I"typeprof 0.21.9;To;;0;[o; ;[I"debug 1.9.1;To; ;[I"See GitHub releases like {Logger}[https://github.com/ruby/logger/releases] or changelog for details of the default gems or bundled gems.;TS; ; i; I" Prism;To; ;;;[ o;;0;[o; ;[I"RIntroduced {the Prism parser}[https://github.com/ruby/prism] as a default gem;To; ;;;[o;;0;[o; ;[I"iPrism is a portable, error tolerant, and maintainable recursive descent parser for the Ruby language;To;;0;[o; ;[I"YPrism is production ready and actively maintained, you can use it in place of Ripper;To; ;;;[o;;0;[o; ;[I"ZThere is {extensive documentation}[https://ruby.github.io/prism/] on how to use Prism;To;;0;[o; ;[I"Prism is both a C library that will be used internally by CRuby and a Ruby gem that can be used by any tooling which needs to parse Ruby code;To;;0;[o; ;[I"*Notable methods in the Prism API are:;To; ;;;[o;;0;[o; ;[I"\Prism.parse(source) which returns the AST as part of a parse result object;To;;0;[o; ;[I"IPrism.parse_comments(source) which returns the comments;To;;0;[o; ;[I"XPrism.parse_success?(source) which returns true if there are no errors;To;;0;[o; ;[I"You can make pull requests or issues directly on {the Prism repository}[https://github.com/ruby/prism] if you are interested in contributing;To;;0;[o; ;[I"You can now use ruby --parser=prism or RUBYOPT="--parser=prism" to experiment with the Prism compiler. Please note that this flag is for debugging only.;TS; ; i; I"Compatibility issues;To; ;;;[ o;;0;[o; ;[I"Subprocess creation/forking via the following file open methods is deprecated. [{Feature #19630}[https://bugs.ruby-lang.org/issues/19630]];Fo; ;;;[o;;0;[o; ;[I"Kernel#open;Fo;;0;[o; ;[I" URI.open;Fo;;0;[o; ;[I"IO.binread;Fo;;0;[o; ;[I"IO.foreach;Fo;;0;[o; ;[I"IO.readlines;Fo;;0;[o; ;[I" IO.read;Fo;;0;[o; ;[I" IO.write;Fo;;0;[o; ;[I"Kernel#open;Fo;;0;[o; ;[I" URI.open;Fo;;0;[o; ;[I"IO.binread;Fo;;0;[o; ;[I"IO.foreach;Fo;;0;[o; ;[I"IO.readlines;Fo;;0;[o; ;[I" IO.read;Fo;;0;[o; ;[I" IO.write;Fo;;0;[o; ;[I")When given a non-lambda, non-literal block, Kernel#lambda with now raises ArgumentError instead of returning it unmodified. These usages have been issuing warnings under the Warning[:deprecated] category since Ruby 3.0.0. [{Feature #19777}[https://bugs.ruby-lang.org/issues/19777]];Fo;;0;[o; ;[I"The RUBY_GC_HEAP_INIT_SLOTS environment variable has been deprecated and removed. Environment variables RUBY_GC_HEAP_%d_INIT_SLOTS should be used instead. [{Feature #19785}[https://bugs.ruby-lang.org/issues/19785]];Fo;;0;[o; ;[I"it calls without arguments in a block with no ordinary parameters are deprecated. it will be a reference to the first block parameter in Ruby 3.4. [{Feature #18980}[https://bugs.ruby-lang.org/issues/18980]];To;;0;[o; ;[I"Error message for NoMethodError have changed to not use the target object's #inspect for efficiency, and says "instance of ClassName" instead. [{Feature #18285}[https://bugs.ruby-lang.org/issues/18285]];Fo;;[I"g([1] * 100).nonexisting # undefined method `nonexisting' for an instance of Array (NoMethodError) ;F;;o;;0;[o; ;[I"Now anonymous parameters forwarding is disallowed inside a block that uses anonymous parameters. [{Feature #19370}[https://bugs.ruby-lang.org/issues/19370]];FS; ; i; I" Stdlib compatibility issues;To; ;;;[o;;0;[o; ;[I"3racc is promoted to bundled gems.;To; ;;;[o;;0;[o; ;[I"{You need to add racc to your Gemfile if you use racc under bundler environment.;To;;0;[o; ;[I")ext/readline is retired;To; ;;;[o;;0;[o; ;[I"0We have reline that is pure Ruby implementation compatible with ext/readline API. We rely on reline in the future. If you need to use ext/readline, you can install ext/readline via rubygems.org with gem install readline-ext.;To;;0;[o; ;[I"bWe no longer need to install libraries like libreadline or libedit.;TS; ; i; I"C API updates;To; ;;;[o;;0;[o; ;[I"*rb_postponed_job updates;To;;0;[o; ;[I"rb_postponed_job_preregister();Fo;;0;[o; ;[I"3added: rb_postponed_job_trigger();Fo;;0;[o; ;[I"Zdeprecated: rb_postponed_job_register() (and semantic change. see below);Fo;;0;[o; ;[I"=deprecated: rb_postponed_job_register_one();Fo;;0;[o; ;[I"7added: rb_postponed_job_preregister();Fo;;0;[o; ;[I"3added: rb_postponed_job_trigger();Fo;;0;[o; ;[I"Zdeprecated: rb_postponed_job_register() (and semantic change. see below);Fo;;0;[o; ;[I"=deprecated: rb_postponed_job_register_one();Fo;;0;[o; ;[I"The postponed job APIs have been changed to address some rare crashes. To solve the issue, we introduced new two APIs and deprecated current APIs. The semantics of these functions have also changed slightly; rb_postponed_job_register now behaves like the once variant in that multiple calls with the same func might be coalesced into a single execution of the func [{Feature #20057}[https://bugs.ruby-lang.org/issues/20057]];Fo;;0;[o; ;[I"5Some updates for internal thread event hook APIs;Fo;;0;[o; ;[I"rb_internal_thread_event_data_t with a target Ruby thread (VALUE) and callback functions (rb_internal_thread_event_callback) receive it. https://github.com/ruby/ruby/pull/8885;To;;0;[o; ;[I"The following functions are introduced to manipulate Ruby thread local data from internal thread event hook APIs (they are introduced since Ruby 3.2). https://github.com/ruby/ruby/pull/8936;Fo; ;;;[o;;0;[o; ;[I":rb_internal_thread_specific_key_create();To;;0;[o; ;[I"3rb_internal_thread_specific_get();To;;0;[o; ;[I"3rb_internal_thread_specific_set();To;;0;[o; ;[I"rb_profile_thread_frames() is introduced to get a frames from a specific thread. [{Feature #10602}[https://bugs.ruby-lang.org/issues/10602]];To;;0;[o; ;[I"rb_data_define() is introduced to define Data. [{Feature #19757}[https://bugs.ruby-lang.org/issues/19757]];To;;0;[o; ;[I"rb_ext_resolve_symbol() is introduced to search a function from extension libraries. [{Feature #20005}[https://bugs.ruby-lang.org/issues/20005]];To;;0;[o; ;[I"IO related updates:;Fo;;0;[o; ;[I"The details of rb_io_t will be hidden and deprecated attributes are added for each members. [{Feature #19057}[https://bugs.ruby-lang.org/issues/19057]];Fo;;0;[o; ;[I"Vrb_io_path(VALUE io) is introduced to get a path of io.;To;;0;[o; ;[I"Xrb_io_closed_p(VALUE io) to get opening or closing of io.;To;;0;[o; ;[I"Jrb_io_mode(VALUE io) to get the mode of io.;To;;0;[o; ;[I"drb_io_open_descriptor() is introduced to make an IO object from a file descriptor.;TS; ; i; I" Implementation improvements;TS; ; i; I" Parser;To; ;;;[ o;;0;[o; ;[I"AReplace Bison with {Lrama LALR parser generator}[https://github.com/ruby/lrama]. No need to install Bison to build Ruby from source code anymore. We will no longer suffer bison compatibility issues and we can use new features by just implementing it to Lrama. [{Feature #19637}[https://bugs.ruby-lang.org/issues/19637]];To;;0;[o; ;[I"pSee {The future vision of Ruby Parser}[https://rubykaigi.org/2023/presentations/spikeolaf.html] for detail.;To;;0;[o; ;[I"PLrama internal parser is a LR parser generated by Racc for maintainability.;To;;0;[o; ;[I"`Parameterizing Rules (?, *, +) are supported, it will be used in Ruby parse.y.;TS; ; i; I"GC / Memory management;To; ;;;[o;;0;[o; ;[I"1Major performance improvements over Ruby 3.2;To; ;;;[ o;;0;[o; ;[I"Young objects referenced by old objects are no longer immediately promoted to the old generation. This significantly reduces the frequency of major GC collections. [{Feature #19678}[https://bugs.ruby-lang.org/issues/19678]];To;;0;[o; ;[I"bA new REMEMBERED_WB_UNPROTECTED_OBJECTS_LIMIT_RATIO tuning variable was introduced to control the number of unprotected objects cause a major GC collection to trigger. The default is set to 0.01 (1%). This significantly reduces the frequency of major GC collection. [{Feature #19571}[https://bugs.ruby-lang.org/issues/19571]];To;;0;[o; ;[I"KWrite Barriers were implemented for many core types that were missing them, notably Time, Enumerator, MatchData, Method, File::Stat, BigDecimal and several others. This significantly reduces minor GC collection time and major GC collection frequency.;To;;0;[o; ;[I"HMost core classes are now using Variable Width Allocation, notably Hash, Time, Thread::Backtrace, Thread::Backtrace::Location, File::Stat, Method. This makes these classes faster to allocate and free, use less memory and reduce heap fragmentation.;To;;0;[o; ;[I"Bdefined?(@ivar) is optimized with Object Shapes.;TS; ; i; I" YJIT;To; ;;;[o;;0;[o; ;[I"1Major performance improvements over Ruby 3.2;To;;0;[o; ;[I"#blank? and {specialized #present?}[https://github.com/rails/rails/pull/49909] are inlined.;To;;0;[o; ;[I"Integer#*, Integer#!=, String#!=, String#getbyte, Kernel#block_given?, Kernel#is_a?, Kernel#instance_of?, and Module#=== are specially optimized.;To;;0;[o; ;[I"--yjit-call-threshold is automatically raised from 30 to 120 when the application has more than 40,000 ISEQs.;To;;0;[o; ;[I"N--yjit-cold-threshold is added to skip compiling cold ISEQs.;To;;0;[o; ;[I"-More compact code is generated on Arm64.;To;;0;[o; ;[I"'Code GC is now disabled by default;To;;0;[o; ;[I"f--yjit-exec-mem-size is treated as a hard limit where compilation of new code stops.;To;;0;[o; ;[I"No sudden drops in performance due to code GC. Better copy-on-write behavior on servers reforking with {Pitchfork}[https://github.com/shopify/pitchfork].;To;;0;[o; ;[I"MYou can still enable code GC if desired with --yjit-code-gc;To;;0;[o; ;[I"JAdd RubyVM::YJIT.enable that can enable YJIT at run-time;To;;0;[o; ;[I"You can start YJIT without modifying command-line arguments or environment variables. Rails 7.2 will {enable YJIT by default}[https://github.com/rails/rails/pull/49947] using this method.;To;;0;[o; ;[I"This can also be used to enable YJIT only once your application is done booting. --yjit-disable can be used if you want to use other YJIT options while disabling YJIT at boot.;To;;0;[o; ;[I"-More YJIT stats are available by default;To;;0;[o; ;[I"gyjit_alloc_size and several more metadata-related stats are now available by default.;To;;0;[o; ;[I"ratio_in_yjit stat produced by --yjit-stats is now available in release builds, a special stats or dev build is no longer required to access most stats.;To;;0;[o; ;[I"$Add more profiling capabilities;To;;0;[o; ;[I"O--yjit-perf is added to facilitate profiling with Linux perf.;To;;0;[o; ;[I"m--yjit-trace-exits now supports sampling with --yjit-trace-exits-sample-rate=N;To;;0;[o; ;[I"1More thorough testing and multiple bug fixes;To;;0;[o; ;[I"N--yjit-stats=quiet is added to avoid printing stats on exit.;TS; ; i; I" MJIT;To; ;;;[o;;0;[o; ;[I"MJIT is removed.;To; ;;;[o;;0;[o; ;[I"v--disable-jit-support is removed. Consider using --disable-yjit --disable-rjit instead.;TS; ; i; I" RJIT;To; ;;;[o;;0;[o; ;[I".Introduced a pure-Ruby JIT compiler RJIT.;To; ;;;[o;;0;[o; ;[I">RJIT supports only x86_64 architecture on Unix platforms.;To;;0;[o; ;[I"=Unlike MJIT, it doesn't require a C compiler at runtime.;To;;0;[o; ;[I"0RJIT exists only for experimental purposes.;To; ;;;[o;;0;[o; ;[I".You should keep using YJIT in production.;TS; ; i; I"M:N Thread scheduler;To; ;;;[o;;0;[o; ;[I"dM:N Thread scheduler is introduced. [{Feature #19842}[https://bugs.ruby-lang.org/issues/19842]];To; ;;;[ o;;0;[o; ;[I"NBackground: Ruby 1.8 and before, M:1 thread scheduler (M Ruby threads with 1 native thread. Called as User level threads or Green threads) is used. Ruby 1.9 and later, 1:1 thread scheduler (1 Ruby thread with 1 native thread). M:1 threads takes lower resources compare with 1:1 threads because it needs only 1 native threads. However it is difficult to support context switching for all of blocking operation so 1:1 threads are employed from Ruby 1.9. M:N thread scheduler uses N native threads for M Ruby threads (N is small number in general). It doesn't need same number of native threads as Ruby threads (similar to the M:1 thread scheduler). Also our M:N threads supports blocking operations well same as 1:1 threads. See the ticket for more details. Our M:N thread scheduler refers on the goroutine scheduler in the Go language.;To;;0;[o; ;[I"In a ractor, only 1 thread can run in a same time because of implementation. Therefore, applications that use only one Ractor (most applications) M:N thread scheduler works as M:1 thread scheduler with further extension from Ruby 1.8.;To;;0;[o; ;[I"M:N thread scheduler can introduce incompatibility for C-extensions, so it is disabled by default on the main Ractors. RUBY_MN_THREADS=1 environment variable will enable it. On non-main Ractors, M:N thread scheduler is enabled (and can not disable it now).;To;;0;[o; ;[I"N (the number of native threads) can be specified with RUBY_MAX_CPU environment variable. The default is 8. Note that more than N native threads are used to support many kind of blocking operations.;T: @file@:0@omit_headings_from_table_of_contents_below0