Skip to content

Commit fe3c5d7

Browse files
committed
Small improvements in Ruby 2.6.0-rc2 post (en)
1 parent f8e7266 commit fe3c5d7

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

en/news/_posts/2018-12-15-ruby-2-6-0-rc2-released.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ Stay tuned for the new age of Ruby's performance.
3636
Ruby 2.6 introduces the `RubyVM::AbstractSyntaxTree` module.
3737

3838
This module has a `parse` method which parses Ruby code from a given string and returns AST (Abstract Syntax Tree) nodes, and a `parse_file` method which parses Ruby code from a given file and returns AST nodes.
39-
The `RubyVM::AbstractSyntaxTree::Node` class is also introduced. You can get location information and children nodes from `Node` objects. This feature is experimental. Compatibility of the structure of AST nodes are not guaranteed.
39+
The `RubyVM::AbstractSyntaxTree::Node` class is also introduced. You can get location information and children nodes from `Node` objects. This feature is experimental. Compatibility of the structure of AST nodes is not guaranteed.
4040

4141
## New Features
4242

@@ -80,6 +80,7 @@ The `RubyVM::AbstractSyntaxTree::Node` class is also introduced. You can get loc
8080
* Speedup `block.call` where `block` is passed block parameter. [[Feature #14330]](https://bugs.ruby-lang.org/issues/14330)
8181

8282
Ruby 2.5 improves block passing performance. [[Feature #14045]](https://bugs.ruby-lang.org/issues/14045)
83+
8384
Additionally, Ruby 2.6 improves the performance of passed block calling.
8485
With micro-benchmark we can observe x2.6 improvement.
8586

@@ -92,7 +93,7 @@ The `RubyVM::AbstractSyntaxTree::Node` class is also introduced. You can get loc
9293

9394
## Other notable changes since 2.5
9495

95-
* `$SAFE` is a process global state and we can set it to `0` again. [[Feature #14250]](https://bugs.ruby-lang.org/issues/14250)
96+
* `$SAFE` now is a process global state and can be set to `0` again. [[Feature #14250]](https://bugs.ruby-lang.org/issues/14250)
9697

9798
* Passing `safe_level` to `ERB.new` is deprecated. `trim_mode` and `eoutvar` arguments are changed to keyword arguments. [[Feature #14256]](https://bugs.ruby-lang.org/issues/14256)
9899

0 commit comments

Comments
 (0)