Use Sets over Arrays in JavaScript for better performing unique lists

preview_player
Показать описание

#javascript #performance #webdev
Рекомендации по теме
Комментарии
Автор

Steve - I'd like to say as a beginner, I'd love for you to make a full beginner to advanced JavaScript course, you are a really good teacher.

Kindly think about it

philipmwangi
Автор

Are you using ChatGPT to write these? You're pumping them out so quick haha

Also it would be awesome if you did one on the WeakSet and Blob constructors.

Love the content!

alexnahas
Автор

Nice content, can you tell me from where does to performance index you are deriving from

Trek_Tales
Автор

When we try to set same object with same value in a Set. Will Set do its thing and only store unique value of that object

mashleburndeadk
Автор

When does the order of elements not matter in an array? Can you give an example of where to use this?

pannukai
Автор

Hi love your channel and all the performance tips you share. I was wondering, sets or enums in typescript since it would still transpile to JavaScript? 🤔

kennedydre
Автор

In which situation does it make sense to use a Set of objects?

y_y
Автор

performance is the only advantage, you can't use any es6 functions to filter, find, some, etc. to arrange, edit, or any complex arrays with many levels.

robottrainer
Автор

Seems like using an object with extra steps.

ShotgunAFlyboy
visit shbcf.ru