{"id":36600648,"url":"https://github.com/nextopcn/swiss-map","last_synced_at":"2026-01-12T08:37:54.126Z","repository":{"id":256904305,"uuid":"856765357","full_name":"nextopcn/swiss-map","owner":"nextopcn","description":"A Google Swiss table implementation written in Java","archived":false,"fork":false,"pushed_at":"2025-02-27T06:07:39.000Z","size":32,"stargazers_count":15,"open_issues_count":0,"forks_count":1,"subscribers_count":8,"default_branch":"main","last_synced_at":"2025-02-27T08:18:16.289Z","etag":null,"topics":["java","map","simd","swiss","table"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nextopcn.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":"2024-09-13T06:56:46.000Z","updated_at":"2025-02-27T06:07:43.000Z","dependencies_parsed_at":null,"dependency_job_id":"c74d7fa1-04e2-463f-a3cc-f09a12ecb37c","html_url":"https://github.com/nextopcn/swiss-map","commit_stats":null,"previous_names":["nextopcn/swiss-map"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/nextopcn/swiss-map","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nextopcn%2Fswiss-map","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nextopcn%2Fswiss-map/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nextopcn%2Fswiss-map/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nextopcn%2Fswiss-map/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nextopcn","download_url":"https://codeload.github.com/nextopcn/swiss-map/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nextopcn%2Fswiss-map/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28337599,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-12T06:09:07.588Z","status":"ssl_error","status_checked_at":"2026-01-12T06:05:18.301Z","response_time":98,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":["java","map","simd","swiss","table"],"created_at":"2026-01-12T08:37:54.011Z","updated_at":"2026-01-12T08:37:54.121Z","avatar_url":"https://github.com/nextopcn.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"## A Google Swiss table implementation written in Java.\n\n### Requirement\n\nrequired Java version\n\n```\nJava 21\n```\n\nrequired VM option\n\n```\n--add-opens=java.base/jdk.internal.misc=ALL-UNNAMED\n```\n\n\n\n### Usage\n\n```java\nSwissMap\u003cInteger, Integer\u003e map = new SwissMap\u003c\u003e(16);\nmap.put(1, 1);\nmap.get(1);\n```\n\n### SIMD optimization\n\nThe following vm options can be added to improve the performance of the Swiss map.\n\n```\n--add-modules=jdk.incubator.vector --enable-preview\n```\n\n### Benchmark\n\n```textmate\nBenchmark                                    Mode  Cnt        Score       Error  Units\n\nSwissMapBenchmark.benchHashMapForeach       thrpt    5   538268.449 ± 11514.793  ops/s\nSwissMapBenchmark.benchSwissMap64Foreach    thrpt    5  2039246.878 ± 66198.912  ops/s\nSwissMapBenchmark.benchSwissMap64ExForeach  thrpt    5  1978412.382 ± 89716.763  ops/s\nSwissMapBenchmark.benchSwissMap128Foreach   thrpt    5  2039027.053 ± 37183.759  ops/s\nSwissMapBenchmark.benchSwissMap256Foreach   thrpt    5  2058253.928 ± 10812.746  ops/s\n\nSwissMapBenchmark.benchHashMapGet           thrpt    5   326126.844 ±  4112.307  ops/s\nSwissMapBenchmark.benchSwissMap64Get        thrpt    5   133646.872 ±  5739.705  ops/s\nSwissMapBenchmark.benchSwissMap64ExGet      thrpt    5   116174.010 ±  4365.354  ops/s\nSwissMapBenchmark.benchSwissMap128Get       thrpt    5   137356.028 ±  6683.400  ops/s\nSwissMapBenchmark.benchSwissMap256Get       thrpt    5   145945.695 ± 13251.820  ops/s\n\nSwissMapBenchmark.benchHashMapPut           thrpt    5    33424.117 ±  1360.542  ops/s\nSwissMapBenchmark.benchSwissMap64Put        thrpt    5    32273.150 ±   605.514  ops/s\nSwissMapBenchmark.benchSwissMap64ExPut      thrpt    5    30740.386 ±  1320.349  ops/s\nSwissMapBenchmark.benchSwissMap128Put       thrpt    5    33234.220 ±   491.740  ops/s\nSwissMapBenchmark.benchSwissMap256Put       thrpt    5    33516.981 ±  1128.439  ops/s\n\nSwissMapBenchmark.benchHashMapValues        thrpt    5   502824.230 ± 25162.399  ops/s\nSwissMapBenchmark.benchSwissMap64Values     thrpt    5   606536.142 ± 99316.343  ops/s\nSwissMapBenchmark.benchSwissMap64ExValues   thrpt    5   616832.970 ± 14004.288  ops/s\nSwissMapBenchmark.benchSwissMap128Values    thrpt    5   626356.301 ± 18869.597  ops/s\nSwissMapBenchmark.benchSwissMap256Values    thrpt    5   612020.609 ± 23162.716  ops/s\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnextopcn%2Fswiss-map","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnextopcn%2Fswiss-map","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnextopcn%2Fswiss-map/lists"}