filmov
tv
Faster than Rust and C++: the PERFECT hash table

Показать описание
I had a week of fun designing and optimizing a perfect hash table. In this video, I take you through the journey of making a hash table 10 times faster and share performance tips along the way.
00:00 why are hash tables important?
00:31 how hash tables work
02:40 a naïve hash table
04:35 custom hash function
08:52 perfect hash tables
12:03 my perfect hash table
14:20 beating gperf
17:24 beating memcmp
21:46 beating SIMD
26:01 even faster?
30:06 pop quiz answers
31:45 beating cmov
33:09 closing thoughts
Thanks:
Attribution:
Thumbnail artwork by Jennipuff
JavaScript logo by Christopher Williams under MIT license
PHP logo copyright Colin Viebrock, Creative Commons Attribution-Share Alike 4.0 International
Ruby logo copyright © 2006, Yukihiro Matsumoto, Creative Commons Attribution-ShareAlike 2.5
00:00 why are hash tables important?
00:31 how hash tables work
02:40 a naïve hash table
04:35 custom hash function
08:52 perfect hash tables
12:03 my perfect hash table
14:20 beating gperf
17:24 beating memcmp
21:46 beating SIMD
26:01 even faster?
30:06 pop quiz answers
31:45 beating cmov
33:09 closing thoughts
Thanks:
Attribution:
Thumbnail artwork by Jennipuff
JavaScript logo by Christopher Williams under MIT license
PHP logo copyright Colin Viebrock, Creative Commons Attribution-Share Alike 4.0 International
Ruby logo copyright © 2006, Yukihiro Matsumoto, Creative Commons Attribution-ShareAlike 2.5
Faster than Rust and C++: the PERFECT hash table
Rust: When C Code Isn't Enough
C is 50 Years Old. Should You Learn Rust?
C++ vs Rust: which is faster?
Why i think C++ is better than rust
Prime Reacts: Is This NEW Language BETTER Than Rust? C++? (Zig First Impressions)
Go is faster than Rust??! Go vs Rust vs TypeScript Servers (as a scientist)
the TRUTH about this NEW Language (BETTER Than Rust and C++?)
Programming in C until I realized that RUST is better - Day 1
Top 5 Fastest Programming Languages: Rust, C++, Swift, Java, and 90 more compared!
[UPDATE] Mojo Is Faster Than Rust - Mojo Explains More
C vs Rust on the Commodore 64
This is why Rust is better than C++
Stop Using Rust Use C++ | Prime Reacts
Java Is Better Than Rust
Mojo Is FASTER Than Rust
Rust is not a faster horse
Torvalds Speaks: Rust's Impact on the Linux Kernel
Why You Should Forget About Rust Forever.
How Much Memory for 1,000,000 Threads in 7 Languages | Go, Rust, C#, Elixir, Java, Node, Python
Rust in 100 Seconds
PHP is faster than C and Rust?? (again)
When C++ is Faster than Rust but I make C faster than both
Why do developers hate Rust?
Комментарии