summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAndreas Rumpf <rumpf_a@web.de>2016-06-02 17:13:54 +0200
committerAndreas Rumpf <rumpf_a@web.de>2016-06-02 17:13:54 +0200
commitc8c50011512fbe1c9149b6e0d7c8f9a741726cca (patch)
treea0ed84dcc6c6def1ba5cb46c243075d3973982bd
parente8d507c859c661fe0f3cdabd0be3c93400dbe7fc (diff)
downloadNim-c8c50011512fbe1c9149b6e0d7c8f9a741726cca.tar.gz
document change for == for cstrings
-rw-r--r--web/news.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/web/news.txt b/web/news.txt
index 12f08e5eb..ef8775f9b 100644
--- a/web/news.txt
+++ b/web/news.txt
@@ -55,6 +55,10 @@ Changes affecting backwards compatibility
   than meaning 2.285 GB as in the previous implementation).  By default it
   also uses IEC prefixes (KiB, MiB) etc and optionally uses colloquial names
   (kB, MB etc) and the (SI-preferred) space.
+- The ``==`` operator for ``cstring`` now implements a value comparision
+  for the C backend (using ``strcmp``), not reference comparisons anymore.
+  Convert the cstrings to pointers if you really want reference equality
+  for speed.
 
 
 Library Additions