{"id":19274413,"url":"https://github.com/regexident/interner","last_synced_at":"2026-06-13T18:39:44.824Z","repository":{"id":71465252,"uuid":"255610446","full_name":"regexident/Interner","owner":"regexident","description":"Swift implementation of general-purpose interners for every use case","archived":false,"fork":false,"pushed_at":"2021-02-10T14:06:53.000Z","size":43,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-01-19T01:02:33.396Z","etag":null,"topics":["flyweight-pattern","interning","string-interning"],"latest_commit_sha":null,"homepage":null,"language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/regexident.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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":"2020-04-14T13:01:05.000Z","updated_at":"2020-10-04T18:35:48.000Z","dependencies_parsed_at":"2023-04-18T14:31:08.373Z","dependency_job_id":null,"html_url":"https://github.com/regexident/Interner","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/regexident%2FInterner","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/regexident%2FInterner/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/regexident%2FInterner/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/regexident%2FInterner/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/regexident","download_url":"https://codeload.github.com/regexident/Interner/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240378874,"owners_count":19792039,"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":["flyweight-pattern","interning","string-interning"],"created_at":"2024-11-09T20:46:07.527Z","updated_at":"2026-06-13T18:39:39.791Z","avatar_url":"https://github.com/regexident.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Interner\n\nFast general-purpose interners for every use case\n\nInterners take complex values and map them to [trivially-comparable stand-ins](https://en.wikipedia.org/wiki/Flyweight_pattern) that can later be resolved back to their source values. \nInterners are often found in software like parsers, language interpreters, and compilers; they can be used whenever a given algorithm compares its inputs by identity only.\n\n## Examples\n\n```swift\nimport Interner\n\nlet interner = Interner\u003cString\u003e()\n\nlet string = \"Hello\"\nlet symbol = interner.interned(string)\nlet resolved = interner.lookup(symbol)\n\nXCTAssert(resolved == string)\n```\n\n## License\n\nThis project is licensed under the [**MPL-2.0**](https://www.tldrlegal.com/l/mpl-2.0) – see the [LICENSE.md](LICENSE.md) file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fregexident%2Finterner","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fregexident%2Finterner","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fregexident%2Finterner/lists"}