lisp/subr.el (delete-dups): Use a hash table
commit1f052a5f26250d726618570a816ddb6fd0cc11a0
authorOleh Krehel <ohwoeowho@gmail.com>
Wed, 6 May 2015 13:21:23 +0000 (6 15:21 +0200)
committerOleh Krehel <ohwoeowho@gmail.com>
Wed, 6 May 2015 13:52:06 +0000 (6 15:52 +0200)
treefd1738c6587bf152df95702ece24a1e6c204df3f
parent2fa7c314a52c8d1cb29a893341d1c03e8ede57cd
lisp/subr.el (delete-dups): Use a hash table

* lisp/subr.el (delete-dups): When there are more than 100 candidates,
  use a hash table. This can result in ~500 times speed-up for typical
  collections of size 5000, like that of `load-library'.
lisp/subr.el