[前][次][番号順一覧][スレッド一覧]

ruby-changes:49334

From: k0kubun <ko1@a...>
Date: Mon, 25 Dec 2017 02:20:10 +0900 (JST)
Subject: [ruby-changes:49334] k0kubun:r61451 (trunk): NEWS: move the section to note ERB performance

k0kubun	2017-12-25 02:20:04 +0900 (Mon, 25 Dec 2017)

  New Revision: 61451

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=61451

  Log:
    NEWS: move the section to note ERB performance
    
    I heard that notable performance improvements should be written to
    "Implementation Improvements". So I put the sentence here.
    
    Also, the sentence itself is fixed to be the same as Ruby 2.5 release
    note draft's one.

  Modified files:
    trunk/NEWS
Index: NEWS
===================================================================
--- NEWS	(revision 61450)
+++ NEWS	(revision 61451)
@@ -316,8 +316,6 @@ with all sufficient information, see the https://github.com/ruby/ruby/blob/trunk/NEWS#L316
 
 * ERB
 
-  * Rendering of ERB's compiled code becomes 2x faster.
-
   * Add ERB#result_with_hash to render a template with local variables passed
     with a Hash object. [Feature #8631]
 
@@ -535,6 +533,8 @@ with all sufficient information, see the https://github.com/ruby/ruby/blob/trunk/NEWS#L533
 * Dynamic instrumentation for TracePoint hooks instead of using "trace"
   instruction to avoid overhead [Feature #14104]
 
+* ERB now generates code from a template which runs 2 times faster than Ruby 2.4
+
 === Miscellaneous changes
 
 * Print backtrace and error message in reverse order if STDERR is unchanged and a tty.

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]