Загрузка...

How does 2GB become 500MB without losing data? #tech #shorts #developer #ytshorts #cs #engineering

How does 2GB become 500MB without losing data?

That’s called Lossless Compression.

Instead of deleting data, algorithms like Run-Length Encoding (RLE) detect repetition and store it more efficiently.

Example:
AAAAA → 5A

The actual information doesn’t change — it’s just stored in a smarter encoded format.
When you decompress it, you get the exact same file back. Bit-to-bit identical.

On the other hand, Lossy Compression (used in JPEG, MP4, etc.) reduces size by permanently removing less noticeable information.
Smaller file. Slight quality compromise.

Smarter storage vs selective deletion — that’s the real difference.

#tech #shorts #developer #ytshorts #cs #engineering #softwarearchitect #computerscience #codeprep #devopsengineering #copy #codeprep #codinglife #softwarearchitect #softwareengineering #softwaredevelopment #technology #technical

Видео How does 2GB become 500MB without losing data? #tech #shorts #developer #ytshorts #cs #engineering канала Tech Villa
Яндекс.Метрика
Все заметки Новая заметка Страницу в заметки
Страницу в закладки Мои закладки
На информационно-развлекательном портале SALDA.WS применяются cookie-файлы. Нажимая кнопку Принять, вы подтверждаете свое согласие на их использование.
О CookiesНапомнить позжеПринять