Unlock the Power of Associative Arrays: Simplify Your Code with Key-Value Magic!

  Рет қаралды 3,448

Gary Explains

Gary Explains

Күн бұрын

Пікірлер: 22
@JosuaBatubara
@JosuaBatubara Ай бұрын
I would like a video about hash tables!
@alliejr
@alliejr Ай бұрын
This video is about hash tables. Hash tables are associative arrays.
@GaryExplains
@GaryExplains Ай бұрын
@alliejr Associative Arrays are not Hash Tables. Hash Tables are a way to implement Associative Arrays under the hood, but they aren't the same thing. You can also implement Associative Arrays as AVL trees (as I say in the video) and you can use Hash Tables for more than just Associative Arrays. I ask in the video if viewers would like a video on how to implement Hash Tables and @JosuaBatubara was answering that question.
@alliejr
@alliejr Ай бұрын
@@GaryExplainsFair enough, but since you only discussed the programming syntax and use cases, not the underlying implementations, I took them to be one and the same such as they are in PHP, Perl, etc. But I stand corrected.
@GaryExplains
@GaryExplains Ай бұрын
I did a section on implementation.
@Winnetou17
@Winnetou17 Ай бұрын
@@GaryExplains I would like to see a video about hash tables too. Including an actual hash function not just the mention that it should exist and that it should be good. When I was young and learned about this, examples of hash functions were sorely missing for some reason. Don't know how the landscape is now, maybe it's no longer an issue, but it wouldn't hurt if your video also has that :)
@louisparry-mills9132
@louisparry-mills9132 Ай бұрын
There is a very large amount of this kind of content floating around, but this video is nice, you have a certain presentation style which works well. I didn't realise you were much of a nitty gritty programmer
@GaryExplains
@GaryExplains Ай бұрын
If you like nitty gritty programming then try my videos on context switching and Piccolo OS!
@robinholmes785
@robinholmes785 Ай бұрын
More please 👍🙂
@klif_n
@klif_n Ай бұрын
I first encountered associative arrays in Perl back in the late 80s. Though they were awesome and never looked back😊
@jeanmorales257
@jeanmorales257 Ай бұрын
Please, make another video about implementing hash tables.
Ай бұрын
Great video. I would like a video about Associative Arrays in Bash (Linux).
@garystafford533
@garystafford533 Ай бұрын
Off by one was not a problem in B.
@GaryExplains
@GaryExplains Ай бұрын
🤦‍♂️
@robinholmes785
@robinholmes785 Ай бұрын
More please 👍😊
@MrPants-xy6db
@MrPants-xy6db Ай бұрын
Associative arrays are a mainstay in Oracle PL/SQL, interesting to see how they're implemented in other languages. Note to self, must learn another language like Python sometime!
@Jenny_Digital
@Jenny_Digital Ай бұрын
How about the difference in speed between implementations that use either a hash table or self balancing tree. I’ll wait a while but not tree(3) minutes for it.
@unofsnd
@unofsnd Ай бұрын
It's not a "zero" at the end of the string in C, it's a null character. '\0'.
@GaryExplains
@GaryExplains Ай бұрын
A zero as in the number the 0, not the ASCII character 0.
@Winnetou17
@Winnetou17 Ай бұрын
@@GaryExplains I wanted to make the same comment as universeofsound. Since the previous values are shown as G, a, r and y instead of 71, 97, 114 and 121, the null character should've been shown as \0 or NULL, to keep it consistent / less potential for confusion for beginners.
@Stuart-AJC
@Stuart-AJC Ай бұрын
Agreed
Programming Is Cooked
9:30
ThePrimeTime
Рет қаралды 359 М.
Naming Things in Code
7:25
CodeAesthetic
Рет қаралды 2,3 МЛН
人是不能做到吗?#火影忍者 #家人  #佐助
00:20
火影忍者一家
Рет қаралды 20 МЛН
1% vs 100% #beatbox #tiktok
01:10
BeatboxJCOP
Рет қаралды 67 МЛН
My scorpion was taken away from me 😢
00:55
TyphoonFast 5
Рет қаралды 2,7 МЛН
Zig for Impatient Devs
9:48
Isaac Harris-Holt
Рет қаралды 110 М.
Please Master This MAGIC Python Feature... 🪄
25:10
Tech With Tim
Рет қаралды 78 М.
What P vs NP is actually about
17:58
Polylog
Рет қаралды 143 М.
Why is Blender in Financial Trouble?
8:03
Film Stop
Рет қаралды 237 М.
10 Real World Generative-AI Use Cases - No Hype, No Nonsense
7:59
Gary Explains
Рет қаралды 8 М.
How Arm CPUs Accelerates AI Workloads Without a GPU or NPU
9:43
Gary Explains
Рет қаралды 6 М.
but what is 'a lifetime?
12:20
leddoo
Рет қаралды 83 М.
Rust Data Modelling Without Classes
11:25
No Boilerplate
Рет қаралды 184 М.
Migrating from C to Rust - Part 1: Calling Rust Code from C
16:03
Gary Explains
Рет қаралды 6 М.
Why Are Threads Needed On Single Core Processors
16:07
Core Dumped
Рет қаралды 206 М.
изобрёл молоток мечты
0:55
Упоротый ПОВАР
Рет қаралды 543 М.
Карина Кросс #shorts
0:16
Dolly and Friends Shorts Cartoons
Рет қаралды 361 М.
Абзал неге келді? 4.10.22
3:53
QosLike fan club
Рет қаралды 31 М.
Halloween is coming
0:12
Younes Zarou
Рет қаралды 3,4 МЛН
пранк: псих сбежал из дурдома
0:53
Анна Зинкина
Рет қаралды 1,7 МЛН