Understanding cache-locality with an example (in Rust)

preview_player
Показать описание
Processor caches play a big role in writing performant code. Let's see if we can write a simple Rust function to better understand caches, cache hierarchy, memory-access latency.

# Time codes
00:00:00 processor caches and cache hierarchy
00:12:16 caching with an example
00:17:44 caching results
00:25:53 spatial locality and contiguous memory layouts
00:31:24 Wrap up

#programming #performance #optimization #rust
Рекомендации по теме
Комментарии
Автор

The sound is quite small, hopefully you can increase the volume in the next streams

amidamarurookie