paint-brush
How To Boost Efficiency with Specialized Dictionary Implementationsby@khuyen-tran
781 reads
781 reads

How To Boost Efficiency with Specialized Dictionary Implementations

by Khuyen Tran3mFebruary 13th, 2020
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

How to create a dictionary with ordered and read-only items, returning default value with non-existent key, grouping multiple dictionaries into a single map and much more. If you want your dictionary to behave in a particular way that it would take some thoughts to implement? Let’s look at 4 different scenarios when you want to have a specialized implementation, such as: create an ordered dictionary, return default values when there is no requested key, group dictionaries together like a chain. ChainMap allows users to access and change the items within the dictionary.

Company Mentioned

Mention Thumbnail

Coin Mentioned

Mention Thumbnail
featured image - How To Boost Efficiency with Specialized Dictionary Implementations
Khuyen Tran HackerNoon profile picture
Khuyen Tran

Khuyen Tran

@khuyen-tran

Mathematics + Data Science

Learn More
LEARN MORE ABOUT @KHUYEN-TRAN'S
EXPERTISE AND PLACE ON THE INTERNET.
L O A D I N G
. . . comments & more!

About Author

Khuyen Tran HackerNoon profile picture
Khuyen Tran@khuyen-tran
Mathematics + Data Science

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite