Huffman Encoding Table First Try

  Рет қаралды 18,898

TheVimeagen

TheVimeagen

Күн бұрын

Пікірлер: 26
@tmanley1985
@tmanley1985 7 ай бұрын
We need a full network programming tutorial. I'm way too interested in this now.
@IQof2
@IQof2 7 ай бұрын
I work in networking and it's a really interesting bridge for me
@FunkyELF
@FunkyELF 7 ай бұрын
First try really is a moving target. Back in the day first try meant it compiled and ran correctly but now with IDEs and LSPs he's guaranteed zero compile errors.
@SnowDaemon
@SnowDaemon 7 ай бұрын
First Try on the 3rd go around, lets go
@fgf80
@fgf80 7 ай бұрын
Huffman coding is the most efficient way to encode arbitrarily large streams of data by just growing the word size to be arbitrarily large. Other compression algorithms exist because growing the word size has exponential cost in the size of the Huffman tree, so more optimal solutions are possible even for quite large finite data streams if you can avoid the cost of transferring the encoding table itself. Limiting your encoding scheme to a fixed word size of 7 or 8 bits will hurt potential for optimization down the line. I could imagine an optimal ASCII encoding involving a pre-shared Huffman tree baked into the compression and decompression tools that’s generated from a histogram of a really large body of input data, like the library of congress, with several byte word sizes.
@dough-pizza
@dough-pizza 7 ай бұрын
Poor grug no understand what this human say! Grug understand only simpler terms
@idf3da
@idf3da 7 ай бұрын
Grug hear me, Huffman coding good for making data small. But if Grug make word size too big, tree get too big too. Other ways better for big data, no need big tree. If Grug use 7 or 8 bit words, it not best. Maybe best if Huffman tree already made from big data, like library of congress, and used by all tools.​@@dough-pizza
@fgf80
@fgf80 7 ай бұрын
@@dough-pizza if your data is big enough, you get better compression out of a Huffman code if each code represents, e.g., two bytes instead of one. The problem is that makes the Huffman tree 256x bigger, so you have to be compressing a lot more data for the better compression ratio to be worth the bigger table size. If you have ENOUGH data, it’s actually been proven you can’t (in general) outperform a Huffman coding scheme where each code represents a large enough number of bytes. I was saying Prime here is limiting his possibilities for improved compression ratios by designing it around having each code correspond to exactly one byte.
@the_duda
@the_duda 7 ай бұрын
@@dough-pizza if data big huffman good
@dough-pizza
@dough-pizza 7 ай бұрын
@@fgf80 Grug understood! If one Huffman code represent multiple bytes then compression good! Prime here use Huffman to represent one byte so compression bad 😞
@Pasyy
@Pasyy 7 ай бұрын
damn this is the first time I'm this early watching a the skill-issue-agen video
@patrickrealdeal
@patrickrealdeal 7 ай бұрын
anyone know what colorscheme is this?
@nasario.d5169
@nasario.d5169 7 ай бұрын
rose pine messed up by tmux
@sa-hq8jk
@sa-hq8jk 7 ай бұрын
17:06
@Gennys
@Gennys 7 ай бұрын
This is not what I need at the moment but I'm going to watch this video anyway because I love you and your content
@airkami
@airkami 7 ай бұрын
What is this channel and why does KZbin suggest it?
@pavlinggeorgiev
@pavlinggeorgiev 7 ай бұрын
Its a mustache enthusiasts channel.
@SnowDaemon
@SnowDaemon 7 ай бұрын
its a ligma channel
@maxscott3349
@maxscott3349 7 ай бұрын
dog butt
@tgirlshark
@tgirlshark 7 ай бұрын
you just found the peak youtube channel
@felipesharkao
@felipesharkao 7 ай бұрын
this is where we learn to use vim by the way effectively
@fabianhabilramdhan562
@fabianhabilramdhan562 7 ай бұрын
what the fuck is happening
@SrMeissel
@SrMeissel 7 ай бұрын
404 likes not found
@Pasyy
@Pasyy 7 ай бұрын
I started laughing so hard at run 3
Crushing Huffman Encoding
32:00
TheVimeagen
Рет қаралды 10 М.
How Huffman Trees Work - Computerphile
11:07
Computerphile
Рет қаралды 254 М.
Quando eu quero Sushi (sem desperdiçar) 🍣
00:26
Los Wagners
Рет қаралды 15 МЛН
1% vs 100% #beatbox #tiktok
01:10
BeatboxJCOP
Рет қаралды 67 МЛН
Controlling NeoVim From Golang
52:00
TheVimeagen
Рет қаралды 16 М.
Refactoring a React component - Design Patterns
15:19
Cosden Solutions
Рет қаралды 101 М.
The Greatest TO DO App Ever Created | Prime Reacts
30:20
ThePrimeTime
Рет қаралды 139 М.
Linux kernel source code interpreted as raw video and audio
1:33:17
Huffman Codes: An Information Theory Perspective
29:11
Reducible
Рет қаралды 241 М.
Tower Defense: How TCP Packets Work
8:52
TheVimeagen
Рет қаралды 39 М.
7 Outside The Box Puzzles
12:16
MindYourDecisions
Рет қаралды 200 М.
Faster than Rust and C++: the PERFECT hash table
33:52
strager
Рет қаралды 614 М.