{"id":16073274,"url":"https://github.com/kopach-artem/hashtable","last_synced_at":"2025-04-05T10:26:30.893Z","repository":{"id":236026771,"uuid":"791754726","full_name":"kopach-artem/HashTable","owner":"kopach-artem","description":"A comprehensive C++ library for efficient data management using hash tables. Features customizable hashing, collision resolution. ","archived":false,"fork":false,"pushed_at":"2024-04-28T20:16:24.000Z","size":32,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-10T21:19:24.413Z","etag":null,"topics":["c-plus-plus","cpp","data-structures","hash-map","hash-table","hashtable"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kopach-artem.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":".github/CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":".github/CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":".github/SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-04-25T09:59:49.000Z","updated_at":"2024-04-28T20:16:27.000Z","dependencies_parsed_at":"2024-04-28T21:41:39.200Z","dependency_job_id":null,"html_url":"https://github.com/kopach-artem/HashTable","commit_stats":null,"previous_names":["kopach-artem/hashtable"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kopach-artem%2FHashTable","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kopach-artem%2FHashTable/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kopach-artem%2FHashTable/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kopach-artem%2FHashTable/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kopach-artem","download_url":"https://codeload.github.com/kopach-artem/HashTable/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247321371,"owners_count":20919980,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["c-plus-plus","cpp","data-structures","hash-map","hash-table","hashtable"],"created_at":"2024-10-09T08:05:37.849Z","updated_at":"2025-04-05T10:26:30.864Z","avatar_url":"https://github.com/kopach-artem.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# C++ Hash Table Implementation\nWelcome to the repository for a custom C++ hash table implementation. This project is dedicated to providing a high-performance, templated hash table for efficient key-value storage and retrieval.\n\n## Features\n- Templated Implementation: Create hash tables for any data type.\n- Collision Resolution: Implements separate chaining to handle hash collisions gracefully.\n- Custom Hash Functions: Supports user-defined hash functions to tailor performance based on specific data distributions.\n- Iterator Support: Navigate through your hash table with standard C++ iterators.\n- Performance Optimized: Built with performance and low memory footprint in mind.\n- Exception Handling: Comprehensive error and exception management for reliability and ease of debugging\n\n## Getting Started\nTo use the hash table in your project, simply clone the repository and include the Hash_Table.h file in your source code.\n\n**git clone https://github.com/koapch-artem/HashTable.git**\n\n***Here's a quick example to get you started:***\n\n```\n#include \"Hash_Table.h\"\n\nint main() {\n    HashTable\u003cint, std::string\u003e myHashTable;\n    myHashTable.insert(1, \"value1\");\n    myHashTable.insert(2, \"value2\");\n    \n    std::string value;\n    if (myHashTable.find(1, value)) {\n        std::cout \u003c\u003c \"Key 1 has value: \" \u003c\u003c value \u003c\u003c std::endl;\n    }\n\n    return 0;\n}\n```\n\n## Usage\n***To create a hash table, simply define a HashTable object with the desired key and value types:***\n\n```\nHashTable\u003ckey_type, value_type\u003e table;\n```\nYou can then use the following member functions:\n\n- insert: To insert a new key-value pair.\n- remove: To delete a key-value pair by its key.\n- find: To retrieve the value associated with a given key.\n- clear: To remove all key-value pairs from the hash table.\n- size: To get the number of stored key-value pairs.\n\n## Contributing\nWe welcome contributions to this project! If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag \"enhancement\".\n\nDon't forget to give the project a star! Thanks again!\n\n- Fork the Project\n- Create your Feature Branch (git checkout -b feature/AmazingFeature)\n- Commit your Changes (git commit -m 'Add some AmazingFeature')\n- Push to the Branch (git push origin feature/AmazingFeature)\n- Open a Pull Request\n\n\n## License\nDistributed under the MIT License. See LICENSE for more information.\n\n## Acknowledgments\n\n- **Viktor Prutyanov** @viktor-prutyanov: Viktor was my supervisor for the Hash Tables project. His guidance and expertise were instrumental in the development and success of this project.\n\n\n\n## Contact\nYour Name – @kopach-artem – kopach.artem@edu.bme.hu\n\nProject Link: https://github.com/kopach-artem/HashTable\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkopach-artem%2Fhashtable","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkopach-artem%2Fhashtable","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkopach-artem%2Fhashtable/lists"}