D
Deno
Speed of generators - Deno
N
Deno
β’
3y ago
β’
10 replies
NeTT
Speed of generators
How fast are JS generators when used as iterators
?
To be clear
, I see the
for..of
for..of
loop being very slow compared to a plain
for
for
or
while
while
loop when used on arrays
. Is it because the
for..of
for..of
loop is inherently slow or because the iterator behind it is slow
?
Deno
Join
Chat about Deno, a modern runtime for JavaScript and TypeScript.
20,934
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
Speed of compiling deno from source
J
j-k / help
2y ago
wasmbuild / speed rust crate vs native deno
F
foobar / help
14mo ago
deny path of website instead of whole website
K
Kay / help
2y ago
Object to tuple of tuple of keys and type?
O
Octal! / help
3y ago