diff options
author | John Högberg <[email protected]> | 2018-11-02 09:38:40 +0100 |
---|---|---|
committer | John Högberg <[email protected]> | 2018-11-02 09:38:40 +0100 |
commit | f668717abf3a28692b7aa096ad7a776eb8738c7a (patch) | |
tree | 3ceb3a335f26361011de997e26740b37b1d5657e /lib/stdlib/doc | |
parent | 69797ce56c590125a664b24e16e4e6691d948883 (diff) | |
parent | 7999ddad6121db7d1b7fe44b3c6a80a8d7ff70f3 (diff) | |
download | otp-f668717abf3a28692b7aa096ad7a776eb8738c7a.tar.gz otp-f668717abf3a28692b7aa096ad7a776eb8738c7a.tar.bz2 otp-f668717abf3a28692b7aa096ad7a776eb8738c7a.zip |
Merge branch 'maint'
* maint:
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')
-rw-r--r-- | lib/stdlib/doc/src/lists.xml | 8 |
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> |