diff --git a/NEWS b/NEWS index 5824e31ab..694449202 100644 --- a/NEWS +++ b/NEWS @@ -4,6 +4,27 @@ See the end for copying conditions. Please send Guile bug reports to bug-guile@gnu.org. + +Changes in 3.0.5 (since 3.0.4) + +* New interfaces and functionality + +** O(1) compilation of `case' and related expressions + +Guile now optimizes chains of eq? comparisons to constants, resulting in +O(1) dispatch time, regardless of the length of the chain. This +optimization is also unlocked in many cases for `match' expressions with +many similar clauses whose first differentiator are constants. + +* Incompatible changes + +** `copy' read-option removed + +This read option would include a copy of the source expression in the +source-properties of each subexpression. This option has always been +off by default and lost most of its use value with the switch to a +compiler in Guile 2.0. + Changes in 3.0.4 (since 3.0.3) diff --git a/doc/ref/api-evaluation.texi b/doc/ref/api-evaluation.texi index 9e4c18e0b..b4a287de5 100644 --- a/doc/ref/api-evaluation.texi +++ b/doc/ref/api-evaluation.texi @@ -336,7 +336,6 @@ invoking @code{read-options} at the prompt. scheme@@(guile-user)> (read-options) (square-brackets keywords #f positions) scheme@@(guile-user)> (read-options 'help) -copy no Copy source code expressions. positions yes Record positions of source code expressions. case-insensitive no Convert symbols to lower case. keywords #f Style of keyword recognition: #f, 'prefix or 'postfix.