[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Performance issue w/ `cl-loop`s `collect...into`

From: Tianxiang Xiong
Subject: Performance issue w/ `cl-loop`s `collect...into`
Date: Sat, 7 Apr 2018 17:51:19 -0700

The following runs nearly instantaneously:

  (cl-loop for i in (number-sequence 0 130000)
     collect (cons (number-to-string i) i))

This seems to take a long time (didn't wait for it to finish):

  (cl-loop for i in (number-sequence 0 130000)
     collect (cons (number-to-string i) i) into pairs)

Is this a known issue? I couldn't find anything in the bug tracker about it.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]