aboutsummaryrefslogtreecommitdiffstats
path: root/lib/stdlib/doc/src
diff options
context:
space:
mode:
authorJohn Högberg <[email protected]>2018-11-02 09:38:31 +0100
committerJohn Högberg <[email protected]>2018-11-02 09:38:31 +0100
commit7999ddad6121db7d1b7fe44b3c6a80a8d7ff70f3 (patch)
treece945f151c9c789bda1e54708815be5301b843a8 /lib/stdlib/doc/src
parentf9aa2fbb81470e9d58efe2cff7e394888c14a779 (diff)
parenteb9ee88f4cc640065f4902e270d834bfb596d5fc (diff)
downloadotp-7999ddad6121db7d1b7fe44b3c6a80a8d7ff70f3.tar.gz
otp-7999ddad6121db7d1b7fe44b3c6a80a8d7ff70f3.tar.bz2
otp-7999ddad6121db7d1b7fe44b3c6a80a8d7ff70f3.zip
Merge branch 'john/erts/minusminus_trapping/OTP-15371' into maint
* john/erts/minusminus_trapping/OTP-15371: Optimize operator '--' and yield on large inputs Inline erts_cmp Clarify a magical allocation size Fix trapping in lists:reverse/2
Diffstat (limited to 'lib/stdlib/doc/src')
-rw-r--r--lib/stdlib/doc/src/lists.xml8
1 files changed, 0 insertions, 8 deletions
diff --git a/lib/stdlib/doc/src/lists.xml b/lib/stdlib/doc/src/lists.xml
index c3d5d7e07a..e4215a5336 100644
--- a/lib/stdlib/doc/src/lists.xml
+++ b/lib/stdlib/doc/src/lists.xml
@@ -850,14 +850,6 @@ splitwith(Pred, List) ->
> <input>lists:subtract("123212", "212").</input>
"312".</pre>
<p><c>lists:subtract(A, B)</c> is equivalent to <c>A -- B</c>.</p>
- <warning>
- <p>The complexity of <c>lists:subtract(A, B)</c> is proportional to
- <c>length(A)*length(B)</c>, meaning that it is very slow if both
- <c>A</c> and <c>B</c> are long lists. (If both lists are long, it
- is a much better choice to use ordered lists and
- <seealso marker="ordsets#subtract/2">
- <c>ordsets:subtract/2</c></seealso>.</p>
- </warning>
</desc>
</func>