{"id":15692260,"url":"https://github.com/healeycodes/oak-lru-cache","last_synced_at":"2026-02-12T09:03:27.823Z","repository":{"id":112378181,"uuid":"459329996","full_name":"healeycodes/oak-lru-cache","owner":"healeycodes","description":"🌳 An LRU cache written in Oak.","archived":false,"fork":false,"pushed_at":"2022-02-14T23:05:20.000Z","size":7177,"stargazers_count":7,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-12T05:53:24.163Z","etag":null,"topics":["lru-cache","oaklang"],"latest_commit_sha":null,"homepage":"","language":null,"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/healeycodes.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-02-14T21:23:45.000Z","updated_at":"2024-03-01T15:10:09.000Z","dependencies_parsed_at":"2023-05-14T04:00:27.577Z","dependency_job_id":null,"html_url":"https://github.com/healeycodes/oak-lru-cache","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/healeycodes/oak-lru-cache","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/healeycodes%2Foak-lru-cache","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/healeycodes%2Foak-lru-cache/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/healeycodes%2Foak-lru-cache/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/healeycodes%2Foak-lru-cache/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/healeycodes","download_url":"https://codeload.github.com/healeycodes/oak-lru-cache/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/healeycodes%2Foak-lru-cache/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29362205,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-12T08:51:36.827Z","status":"ssl_error","status_checked_at":"2026-02-12T08:51:26.849Z","response_time":55,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["lru-cache","oaklang"],"created_at":"2024-10-03T18:30:15.644Z","updated_at":"2026-02-12T09:03:27.801Z","avatar_url":"https://github.com/healeycodes.png","language":null,"readme":"# oak-lru-cache\n\n[![CI](https://github.com/healeycodes/oak-lru-cache/actions/workflows/test.yml/badge.svg)](https://github.com/healeycodes/oak-lru-cache/actions/workflows/test.yml)\n\nA least recently used (LRU) cache written in [Oak](https://oaklang.org/).\n\nUsage:\n\n```\n{\n\tlru: lru\n} := import('lru')\n\ncache := lru(5) // Max keys\ncache.set('foo', 'bar')\ncache.get('foo')\n```\n\nBenchmarks (run in CI):\n\n```text\nInserted 1 key in:  0.018358230590820312 ms\nInserted 100 keys in:  1.4066696166992188 ms\nInserted 10000 keys in:  119.19784545898438 ms\nEach lru.set() call took 0.013117778301239013 ms (avg) over 100000 entries\n```\n\n## Tests\n\n```bash\nvendor/oak-linux-v0.1 lru.test.oak\n```\n\n## Benchmarks\n\n```bash\nvendor/oak-linux-v0.1 lru.bench.oak\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhealeycodes%2Foak-lru-cache","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhealeycodes%2Foak-lru-cache","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhealeycodes%2Foak-lru-cache/lists"}