DevOps Articles

Curated articles, resources, tips and trends from the DevOps World.

Learning Storage and Retrieval with a Hash Function

2 years ago thenewstack.io
Learning Storage and Retrieval with a Hash Function

Summary: This is a summary of an article originally published by The New Stack. Read the full original article here →

If you walk around the city of London, you won’t have too much trouble finding Gough Square, hidden behind Fleet Street. There is probably only one long-ordered chain you know well, and have known well for a long time: your alphabet.

Now, we could use just two arrays: one with the image data, and one with a matching index holding the keys. The data array would need cells big enough to hold image data, while the index array just needs cells big enough to hold small strings.

What we want is a function that sits between the nice human-readable key and an indexed array of images.

Made with pure grit © 2024 Jetpack Labs Inc. All rights reserved. www.jetpacklabs.com