From 2ef88c982a307a56dcb01f02697f40ad55f8f916 Mon Sep 17 00:00:00 2001 From: Sander Maijers Date: Fri, 15 Apr 2016 22:33:50 +0200 Subject: [PATCH 1/3] grammar: fix MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Reading this, one item stood out a bit. Small improvements here. . ‘Compile-time’ is not a noun, ‘compilation time’ was meant; . Mathematical formulas are best not rendered as code; . Use the same tense as in other items. --- RELEASES.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/RELEASES.md b/RELEASES.md index 6533102a92d56..b13e138198c99 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -140,9 +140,9 @@ Cargo Performance ----------- -* [During type unification, the complexity of comparing variables for - equivalance was reduced from `O(n!)` to `O(n)`][1.9tu]. This leads - to major compile-time improvements in some scenarios. +* [The complexity of comparing variables for equivalence during type + unification is reduced from O(n!) to O(n)[1.9tu]. This leads + to major compilation time improvement in some scenarios. * [`ToString` is specialized for `str`, giving it the same performance as `to_owned`][1.9ts]. * [Spawning processes with `Command::output` no longer creates extra From 3149ff31bc7751782d2e61bf8ba8a30ac9af7a90 Mon Sep 17 00:00:00 2001 From: Sander Maijers Date: Sat, 16 Apr 2016 10:55:33 +0200 Subject: [PATCH 2/3] style: enhance font of big-O expressions --- RELEASES.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/RELEASES.md b/RELEASES.md index b13e138198c99..c9064d924097c 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -141,7 +141,7 @@ Performance ----------- * [The complexity of comparing variables for equivalence during type - unification is reduced from O(n!) to O(n)[1.9tu]. This leads + unification is reduced from _O_(_n_!) to _O_(_n_)][1.9tu]. This leads to major compilation time improvement in some scenarios. * [`ToString` is specialized for `str`, giving it the same performance as `to_owned`][1.9ts]. From 8ff34c77a201e8eea4a96e53e0907665271703df Mon Sep 17 00:00:00 2001 From: Sander Maijers Date: Sat, 16 Apr 2016 10:58:20 +0200 Subject: [PATCH 3/3] semantics: slightly clarify big-O claim Clarification by more precise specification. --- RELEASES.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/RELEASES.md b/RELEASES.md index c9064d924097c..4b404259480b5 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -140,7 +140,7 @@ Cargo Performance ----------- -* [The complexity of comparing variables for equivalence during type +* [The time complexity of comparing variables for equivalence during type unification is reduced from _O_(_n_!) to _O_(_n_)][1.9tu]. This leads to major compilation time improvement in some scenarios. * [`ToString` is specialized for `str`, giving it the same performance