Coder Social home page Coder Social logo

pandora's Introduction

Hi there ๐Ÿ‘‹

pandora's People

Contributors

neelkshah avatar twitu avatar

Watchers

 avatar  avatar  avatar

pandora's Issues

Hash Array

Hash Array stores key value pairs in linked lists based on hashing function. It is made up of an array along with metrics to track number of key value pairs added or removed.

initial questions

  • What are our objectives?
  • What are the tools we shall use?
  • Have we identified first steps?
  • Do we have a timeline for the same?

Hashing function

Implement a hashing function

  • a reasonable starting point is modular hashing
  • implement multiple variants
  • Create test bench
  • Find and benchmarks against standards

Keys can be of type String or Integer

Standardize use of int types across project

Currently different types of ints are being used. For e.g.

  1. int for config constants
  2. uint64 for key values
  3. uint32 for HashTable attributes

What is the best approach to be consistent across int type usage?

Soft delete for Linked List

Slices shift sub slices when deleting. It's better if we use a soft delete, consider 2^64 value (64 1s) to be the soft delete value.

Linked List

Implement a linked list

  • that stores key value pairs
  • that can store a configurable number of pairs in a single node
  • create tests
  • compare against standard benchmarks

Key can be of type: String or Integer and values can only be of type Integer

Hash function chooser

An enum for different types of hash functions and a chooser that takes and enum and returns the corresponding function.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.