Skip to content

Ring 087: Ternary hash table #275

Closed

Description

@gHashTag

Ring 087 - Ternary Hash Table Operations Specification

Implement key-value storage with open addressing for ternary data:

  • ht_init: Initialize empty hash table
  • ht_insert: Insert or update key-value pair
  • ht_get: Retrieve value by key
  • ht_has_key: Check key existence
  • ht_delete: Remove key from table
  • ht_size/clear/is_empty/full: Table operations

Collision resolution: Linear probing with deleted marker

Test coverage: 8 tests, 5 invariants, 5 benchmarks
Spec file: specs/isa/ternary_hash_table.t27

phi² + 1/phi² = 3 | TRINITY

Activity

  1. added a commit that references this issue on Apr 7, 2026
    00f15f6
  2. gHashTag commented on Apr 8, 2026

    @gHashTag
    OwnerAuthor

    📓 NotebookLM Notebook created

    Notebook ID: 949bc6fb-6968-4aff-a2c0-2d247908ff5c
    URL: https://notebooklm.google.com/notebook/949bc6fb-6968-4aff-a2c0-2d247908ff5c

  3. gHashTag commented on Apr 29, 2026

    @gHashTag
    OwnerAuthor

    Verified: specs/isa/ternary_hash.t27 — 7 tests, 5 invariants, 5 benchmarks. Parses OK. L4 compliant.

  4. added 2 commits that reference this issue on Apr 29, 2026
    f20157a
    5921c98
  5. added 2 commits that reference this issue on Jun 1, 2026
    9a03b94
    20f789a
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions