You don't know array in javascript | PACKED vs HOLEY | JSVU | V8-debug
HTML-код
- Опубликовано: 10 сен 2024
- Visit chaicode.com for all related materials, community help, source code etc.
Aapne socha JS pe ab charcha nhi krenge, Aisa nhi h ji. JS pe to baat hoti rhegi, jb b time milega, series ko update kr denge.
Sikhte h kuch new.
Sara code yaha milta h
github.com/hit...
WhatsApp pe yaha paaye jaate h:
hitesh.ai/what...
Discord pe yaha paaye jaate h:
hitesh.ai/discord
Instagram pe yaha paaye jaate h:
/ hiteshchoudharyofficial
hitesh.ai/whatsapp
Sir g hm frnt end developement sy lesy earn kr skty hn kahan pr job mily g? Kin platforms ko use krn.
Interview preparation k liye kon sy platform best hn
Hello sir kya ap se contact ho sakta for learning online classes? Plz how can we contact
Waise sir mauf karna series mein itna ghus gaya tha ki important baat bolna bhul gaya you are the real world example of ranchu
Sir css ka bhi course upload karo na channel pe
Sir css ka bhi course upload karo na channel pe
Summary:
There are two types of arrays: holey arrays and continuous arrays. These arrays can contain three types of elements: SMI (Small Integer), Packed Element, and Double.
1. **Holey Array**: A holey array is an array that contains missing or empty elements. For example, [1, 2, , 4] is a holey array because it has a missing element. Holey arrays are less optimized for performance.
2. **Continuous Array**: A continuous array is an array that does not contain missing or empty elements. For example, [1, 2, 3, 4] is a continuous array because it has no missing elements. Continuous arrays are more optimized for performance.
In terms of optimization, continuous arrays are more efficient and optimized for various operations compared to holey arrays.
If we get commenter like your in each video, That could be very helpful buddy...
Can't believe we are getting such videos in a free yt video. It's beyond imagination in this era. Being a junior javascript developer, it's awesome to know these things in so much depth. Thank you so much sir❤
favourite JS depth series ever ... i hope i can crack my interviews after this inshAllah...
Have you cracked yor interview??
this type of videos aren't usually found in yt..........thank u sir...keep bringing advanced topics like this one
Bs janta aise topic share kam krti h
@@chaiaurcodebecause they don't wanna be average like others, sir😂😂
You are doing a fabulous work here. With each video I get goosebumps. How I am lucky/fortunate to have you in our life. Hindi chnnel se sikhne me maja hi aur hain. Bhasha se jyada terminologies and concept pe jyada dhyan jyata hain aur vahi important hain.
❤️
❤ We love these kinds of videos, reverse engineering , behind the scenes , it feels like I am transforming into real engineer now, and coming out of my comfort zone .
but aise videos share kam hote h, popular to roadmap, dsa n general gyaan hi hota h
@@chaiaurcode esa nhi hai sir hum daba k share krte hai. ❤❤❤
@@chaiaurcode we will make sure to share these videos as more as we can , and we want you to know yes , these kinds of videos are needed infact more .
We want you to know these videos are creating a lot of impact , I really had lost intrest into tech ,due to paper programming , fear of DSA . I had shifted my intrest to non tech field (civil services ) even being from CSE .
you are one of the teacher who really got me back to tech , made me curious again , made me think like engineer
I can develop a lot complex apps now ,with a good js foundation .tht you gave . It really feels like we are learning in person with you the way you teach .
@@chaiaurcode sir DSA with JavaScript ki bhi ek play list bna do
MIND BENDING detail-dig up.
Hitesh ji, aapko PRANAAM hai jo aapne Arrays is level pe ja ka samjhaya.
🙏🙏🙏
When I chose engineering after Boards it wasn't just because of the various pressures that we in India are familiar with, there was a fascination too... though I was not much sure what I'm going to get along the way. But over these yrs I kinda lost that, it has just become about jobs and all. Ofc that's imp too, but that can't be all just about that as I believe engineering is a mindset and someone passionate about that is actually going to be efficient too. Then one day I came across the browser working video on ur other channel 🔥 and now in Hindi too... Thanks so much Hitesh sir to help us bring back that engineering mindset, those intricacies beyond basics that fascinated so many like me❤ . Amidst all the turmoil rn I somehow feel it's really a great time to be an aspiring engineer
Thanks ❤️
just completed the 51 videos series of chai and js .. The ultimate course where it consists of from basis to pro level, Great work sir ☺☺☺
How is it? Thinking of starting it.. Did he explain it really well? How much time will it take approx.?
@@animeka1444 it is the great series and if u are newbie in js then also is the best series. It takes around 3-4 weeks if you do 2 videos everyday.
@@animeka1444 bro its good enough just start
Thank you so much sir! Finally completed this js series ❤🙏
Now I'll directly start your backend series ❤
Thank you so much sir, it's really helpful 🙏
Most welcome 🤗☕️
my fav teacher
ap meri life mein ek farishte ki tarah hai
apki waja say meri knowlede mein izafa hai
sir ap sach mein bahut bade dil wale hu
i life gives me a chance i would like to become a loyal servant of you
thank you so much
India ka nhi world ka best channel banega....even hamare liye toh pehle se hi best RUclips channel h🥰🙃🙂
Mentors like you truly changes lives. In my life I had 3/4 of such mentors who gave me moments of epiphany and their teachings still have impacts on my life. And now there is you.
Learning new things is never a boring process if the mentor is good.
Expecting more such videos.
All time hit
first ever playlist in the internet that i've ever skipped and loved a lot thanks sir will be learning react js from you after this ❤❤
1000 comment kar do guys
Krdiye
Hey SIr I usually don't drop comments, but your video touched my soul. It compelled me to share my thoughts and express my inner feelings. Words can't quite convey the depth of what I felt; your content truly left me in awe and utterly moved. Please continue this series, delving into the behind-the-scenes workings-your humble approach adds a unique charm. Keep doing what you're doing! 👍🔥
🖥🖥 HOLES ARE VERY EXPENSIVE!!! 🖥🖥
you are the person with great knwoledege ,and down to earth person, i respect you sir🙌🙌🙌🙌
Thanks a ton
Thank You yeh engineering side ko sir aur zeyada explore kariye aisa hee content bhut pasnd ata hai :)
sir waise to mai non tech background se hu lekin array ke bare me ye sab bate jankar mujhe thoda der ke liye achha laga . mujhe nahi lagta ki video ke ye sabhi bate kabhi kisi ke sath sare kar payenge. but mujhe SMI HOLEY PACKED ke bare me jaan kar achchh laga . thanku for this sir ♥♥♥
Never seen this type of lecture on RUclips ( OPTIMISATION for development is very important)
This channel is going to blow up very soon! It was really awesome and mind boggling, never thought of JS in this way!
Best JS series. In every video depth concept are delivered. Thank you so much Hitesh sir
Thank you so much sir for such a in depth series of JS. It gave me lots of information. I have 15+ year of experience and work on many languages but does not have in depth knowledge like you provided. Now I fill i have not done anything in last 15 years. You treat me the way how we have to learn any language.
Sir Completed the whole series. I Love this series and the way you teach. You are my favorite teacher on entire RUclips ❤❤❤❤
Fabulous teacher.... Just amazing teaching style ❤
Thank you! 😃
If someone is watching this video first then know this you should start this series immediately as you will be blown away with the shear details Hitesh bhai provides. Trust me you only need this series for JS foundation nothing else. This is the limit up to which he can hand hold you. Beyond this it your job to apply this concepts to get more clarity in case you are still confused with something. Nonetheless Thank you so much Hitesh Bhai. This is so far the most easy and effective video series on JS I watched 🚀🚀
JADA KUCH TO DEKHA MENE HITESH BHAIYA PR APKE JESA TEACHRE DEKH LIYA MTLB BHUT KUCH DEKH LIYA I CAN`t EXPALIN KYA HI PDTE HO AP GOOD WISHES FOR UU ND YOUR FAMILY FOREVER EK APSE JARUR MULAKAT HOGI
Two Types of Arrays 1. Continious arrays and 2. Holey arrays and it contains three types (SMI, Double & Packed Elements)
Hanji sir bohot hi badhiya tarikhe se aapne js sikhaya hai ❤️ Thank you
thank you so much sir for teaching in the most awesome way, I have ever seen. This is the first every series of my life, which I have completed. Thank you so much sir, this has filled me with motivation to completed everything from start to finish. Thanks a ton sir.
LOVE YOU 3000 SIR ❤❤❤❤❤❤
khatam kar di sir aapki javascript series ko aur share bhi kar diya kya padhaya aapne waahhh
love you sir❤❤
Thanks for the course..the way you teach is excellent and understandable.😄😄
These kinds of things are my inspiration for being a SDE 🔥🔥🔥🔥
bohat bohat maza aya sir i watch this series in 1 week.
Happy Teachers Day sir 🎊 Thank you for this JavaScript course
in starting i thought ki this video is too advanced for me but before skipping the video i had a little faith in sir ki jo ye padeyenge kam ka tho hoga paka finally thodi time bad samaj aanelaga fir pata chal ki it was the best video ever because we use a lot of array in js and still i didn't know how it works in backend now i can flex on my manager bet even he don't know this munch. love you sir
This series is wonderful and watched it in 5 days I think the Local Storage v/s session Storage v/s cookies video can complete this series....😊
As per what i learned from Respected sir :
Array can basically categorized into two type :-
1.) Continuous array : They are also known by packed arrays with condensely packed elements . So , bacically all of the elements are packed within the array length in the given bound of the array , in simple terms it means that there is no missing element in the the given array , the missing element are known by holes , these holes are defined empty .
The optimization rate in these types of array are very good and they are quite efficient .
example of the continuous array
let arry =[1,2,3]
as there is no missing elements and all of the elements are cosely packed
//---------------------------------------------------------------------------------------------------------------//
2.) Holey array : In this type of array the elements inside the array are missing , these missing elements are known as holes , the holes inside the array are defined empty and due to whuch there is lot of issue in the optimization of the whole array . The optimization is not effecient as compared to the continuous arrays
for example
let arry2=[1, ,3,4]
as we can se there is a hole (missing element) in the arry2 at indices 1
There are different types of types of how you store elemets in C.A and H.A
( SMI ) smallest integer , it stores numbers ,integers
double elemts , it stores numbers , strings, float
packed elements , it stores both the types of elements
I hope it helped you guys . God bless you all
JAI SHREE RAM
Came on youtube to watch some leisure video along with lunch, but ended up watching full video without interruption. Hats-off to the way you explain. Keep it up
thank you for the amazing javascript series♥
32:20 that is the reason i love js so much it relates to real worlds issues.
We love these kinds of videos, reverse engineering , behind the scenes , it feels like I am transforming into real engineer now, and coming out of my comfort zone
Bs yahi goal h ❤️
We explored the best and hopefully it continues in future as well ! 😀
00:03 Arrays in JavaScript beyond the basics
01:57 Resizing and defining arrays, shallow and deep copies, array methods
05:52 Introducing JS View as a JavaScript Engine Version Updater
09:02 Understanding the role of V8 engine in JavaScript development
12:50 Using v8-debug1 version unlocks special debugging functions in JavaScript
14:56 Understanding the usage of the Allow Dash Natives flag in JavaScript debugging
18:33 JavaScript arrays: Packed vs Holey
20:19 JavaScript arrays can have packed or holey elements, leading to different optimizations by V8 engine.
23:31 Difference between packed and holey arrays in JavaScript
25:19 Arrays in JavaScript can be of two types: packed and holey.
28:47 Inserting value at 11th position introduces holes and affects array optimization
30:31 Understanding the process of bounds check and property lookup in JavaScript arrays
33:53 Understanding packed vs holey elements in JavaScript arrays
35:32 Downgrading and upgrading an array in JavaScript
39:16 Optimizing array for better performance
41:05 Arrays in JavaScript can be treated as packed doubles when adding infinity or an empty value.
Crafted by Merlin AI.00:03 Arrays in JavaScript beyond the basics
01:57 Resizing and defining arrays, shallow and deep copies, array methods
05:52 Introducing JS View as a JavaScript Engine Version Updater
09:02 Understanding the role of V8 engine in JavaScript development
12:50 Using v8-debug1 version unlocks special debugging functions in JavaScript
14:56 Understanding the usage of the Allow Dash Natives flag in JavaScript debugging
18:33 JavaScript arrays: Packed vs Holey
20:19 JavaScript arrays can have packed or holey elements, leading to different optimizations by V8 engine.
23:31 Difference between packed and holey arrays in JavaScript
25:19 Arrays in JavaScript can be of two types: packed and holey.
28:47 Inserting value at 11th position introduces holes and affects array optimization
30:31 Understanding the process of bounds check and property lookup in JavaScript arrays
33:53 Understanding packed vs holey elements in JavaScript arrays
35:32 Downgrading and upgrading an array in JavaScript
39:16 Optimizing array for better performance
41:05 Arrays in JavaScript can be treated as packed doubles when adding infinity or an empty value.
Crafted by Merlin AI.
Next level professional with a next level stuff hats off to you sir ❤❤
"Wow, this video was incredibly informative! I learned so much about JavaScript from your explanation. The way you broke down the complex topic made it so easy to understand Thank you so much sir😊
asa content kisi aur youtube pe nahin milta. Thankyou so much sir.
I had completed this playlist. Big Thank you Hitesh sir for making such amazing and in-depth videos🙌🏻.
Hitesh, please create these kind of in-depth videos. I really appreciate your efforts towards creating high quality, detailed videos.
cant believe that content of this kind are free superb!!!!!!
Research level Lecture( Professor). most interesting CONcept
on this Era, where lots of didi and bhiya make people fool by teaching any stuff, then this men come🙏, and create a history with in-depth knowledge with high quality content . lot of respect🙌🙌🙌🙌🙌🙌🙌🙌
❤️
It is really a outstanding level of knowledge even I studied JS in very depth but I never even listened about it. Thanks to chai aur code and Hitesh sir
amazing video. i dont think anybody has talked about it so deep!
sir really itna depth to kahi nhi study karaya jata hai
I m from Pakistan....you are now my mentor...
I feel sad when I forget to watch your video😢
Thank you so much sir... keep it up with a smile🙂
You are inspiration teacher for us in programming ❤.
And i learn from your cool and calm personality
May Aaj js pura sikha thodi si revision karna hoga lekin AJ Mayne din raat ek kar ke complete 💯 or DSA ka course bhi purchase Kiya sir ke madhyam se hum apne life ko success banana chahte hai kuch build khudka karna chate hai bas sir aapka asirwad chahiye 😊❤
thankyou sir, today finally i completed javascript and i enjoy your javascript playlist. Once again thankyou so much sir for you effort to us.
Hie buddy
do you think someone can get a job of 6LpA+ after completing this playlist?
Will be very helpful if you give feedback of this playlist
I cant thank enough sir. No one could hook me this much in javascript .We need more frequent videos sir .
Of course sir it is biggest RUclips channel in world for me. ❤
Thank you for this video sir.
Isi baat pe LinkedIn pe share krke tag krdo
Thanks for keep raising the bar sir 🙌💪🔥
Just Completed this playlist. Got a proper hold on the language thanks to you sir.
Thank sir for providing this wonderful playlist for free..❤
I am glad that I youtube suggests me underrated channels
You are bawaal teacher and mentor.............Love you guru ji
Thank you so so much this kind of video. Would love to see more such advanced topics explained by you.
" kabhi Fursat me baat karenge " hitesh sir dialouge . wow amazing i amazing sir thanks a lot ?
Kuch cheze main topic ko side line kr skti h 😁
Best series in javascript and thank you 💯😊
Really really owesome ... Itni depth main Kam hi teacher jaty Han
Thanks for sharing Hitesh sir. I shared this video with my engineering friends, They liked it too. Please make more videos like this one.
sir the way of your teaching is osm sir
I find your videos the best, your way of explaining any subject is amazing. You can lift any beginner from the ground and take it to the sky. When I become a good software developer in future, I would definitely like to meet you. Thankyou Sir!
A Complaint: mujhe apki videos ki nasha laggaya he sir 😅. your videos are hypnotizing, once I start watching I can't stop till the end. I'm very thank-full for such valuable content sir 🙂keep them coming pls
😁😁😁❤️❤️
Damm I want more this engineering in depth types of videos. What an awesome video sir
God-level explanation of this topic ......
I have learned new things about JavaScript (PACKED vs HOLEY)🙏🙏
kitni bhi tarif karu kum padegi
Thank u sir aap ne consistent kaise rehna ye sikha dia❤❤
Absolutely loved this sir. Thank you so so much. Would love to see more such advanced topics explained by you.
You are one ans only enough to teach us wholesale javascript❤
Thanks a lot of you sir
Is it complete playlist?
Recently 1 just completed your JS part 1 playlist , It's was Best of Best brother , love from Bangladesh ! We are hungry, NEED MORE
I have commented with different different account so that you continue this type of content
Thank you sir
We need this type of more videos to understand the core about javascript so that means we need to understand more about javascript engines so make more videos about that.
sir i feel too much lucky.... ap jaise admi hya...love u sir.....🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏
Finally Completed
Mazza aa gya :) ;)
Thank you sir
Feel blessed to have such great teacher like you sir.❤
The day Hitesh sir uploads a video, my day goes well
its is great lecture about internal mechanism of memory allocation and optimization compilers do while creating , using arrays in javascript, it remembers me dynamic list and linked lists data structures we coded in c++ in early days. It is a usage of that data structure
Mind-blowing. This video change my perception about javascript and array optimisation. This is next level thing, possibly not found in RUclips. Sir, we need more this types of videos. Thank You ❤
Ab aa gye h RUclips pe, hindi me. Ab content ki bar to sabko raise krni pdegi 😁
Akdom sir. Thank You for replying ❤
Hello Sir, I would like to thank you for your immense dedication towards your youtube courses, I am from merchant navy background, after leaving the merchant navy feild, I did my BSc.Computer Science and wanted to join the IT industry as intial phase of front end developer, your course is really helping me to understand the basic concepts of front end developer. I would ask you for one more favour, can you please show us the correct path and right way to be front end developer and the exact preparation for front end developer. What conditions are required to be front end developer and how we should approach IT companies in terms of front end developer. Awating yor response. Again, I would thank you for your efforts and wonderful explanation of JS. I completed your tutorial in 6 days, going through your videos mutliple times and I am focusing more on project implemantation part, after hands on on the javascript project, I will start reactjs tutorial from your channel. Thank you again for helping lots and lots of people to upskill.
Kabhi kabhi playlist me aane se der lgta, vps kahi or jaane ka mann hi nahi krta😅
Love the engineering side all the topic . Thank you sir
Thank You Hitesth Sir. Really very important video for js knowledge.
i seriously say, this is the best javaScript playlist 🤟🤟🤟🤟
Thanks
Thank You Hitesth Sir. You are doing commendable job. The content provided by you is just Next level.
Verry Intreresting video. From there, I learned lots of new thing.