Frugal Cafe logo
Frugal Cafe
Subscribe
  • Frugal Cafe
  • Topics
  • hash

hash

Hash containers

stringperformanceStringBuilderLinqregexhashAzuredotnetperfcounterlist
stringstring
+4+4
FC70: A thread-safe lock-free string interner
Oct 03, 2023

FC70: A thread-safe lock-free string interner

Much better alternative to string.Intern

Feng Yuan
Feng Yuan
performanceperformance
+3+3
FC59: Thousands of small/efficient dictionaries needed
Sep 15, 2023

FC59: Thousands of small/efficient dictionaries needed

Sadness of software engineers: limited data structure choices

Feng Yuan
Feng Yuan
performanceperformance
+4+4
FC56; The deadly Linq.Enumerable.GroupBy you do not need and can't afford
Sep 13, 2023

FC56; The deadly Linq.Enumerable.GroupBy you do not need and can't afford

Proper data structure design needed for large data processing

Feng Yuan
Feng Yuan
performanceperformance
+3+3
FC49: Let's clone Linq.Enumerable.Set<T>
Sep 02, 2023

FC49: Let's clone Linq.Enumerable.Set<T>

Upcycle the orphan set class

Feng Yuan
Feng Yuan
performanceperformance
+3+3
FC48: Designer Prime Numbers
Sep 02, 2023

FC48: Designer Prime Numbers

More selected prime numbers for better memory usage

Feng Yuan
Feng Yuan
performanceperformance
+3+3
FC47: DictionaryArray - Poor man's segmented dictionary
Sep 01, 2023

FC47: DictionaryArray - Poor man's segmented dictionary

Easy implementation, effective in avoid/reduce LOH allocation

Feng Yuan
Feng Yuan
performanceperformance
+2+2
FC40: SmallFrozenDictionary could be slower
Aug 28, 2023

FC40: SmallFrozenDictionary could be slower

Linear search without using hash code

Feng Yuan
Feng Yuan
performanceperformance
+3+3
FC26: Not recommended Microsoft.Extensions.Caching.Memory.MemoryCache
Aug 17, 2023

FC26: Not recommended Microsoft.Extensions.Caching.Memory.MemoryCache

Wrapper around ConcurrentDictionary

Feng Yuan
Feng Yuan
stringstring
+4+4
FC24 Why 64-bit string.GetHashcode is slower than 32-bit, and how to fix it
Aug 16, 2023

FC24 Why 64-bit string.GetHashcode is slower than 32-bit, and how to fix it

When a typo becomes a feature, you can't change it

Feng Yuan
Feng Yuan

Frugal Cafe

Home

Posts

Authors

© 2025 Frugal Cafe.

Privacy policy

Terms of use

Powered by beehiiv