{"id":18277916,"url":"https://github.com/limium/libans","last_synced_at":"2025-04-09T04:37:23.064Z","repository":{"id":91418613,"uuid":"120105329","full_name":"LiMium/libANS","owner":"LiMium","description":"Java implementation of ANS","archived":false,"fork":false,"pushed_at":"2018-02-06T18:54:08.000Z","size":20,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-14T22:48:42.828Z","etag":null,"topics":["ans","asymmetric-numeral-systems","java","library"],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"lgpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/LiMium.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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":"2018-02-03T15:53:18.000Z","updated_at":"2024-11-18T20:56:19.000Z","dependencies_parsed_at":null,"dependency_job_id":"e943e032-8db8-497c-8a09-194463b77a6f","html_url":"https://github.com/LiMium/libANS","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LiMium%2FlibANS","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LiMium%2FlibANS/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LiMium%2FlibANS/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LiMium%2FlibANS/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LiMium","download_url":"https://codeload.github.com/LiMium/libANS/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247980830,"owners_count":21027803,"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":["ans","asymmetric-numeral-systems","java","library"],"created_at":"2024-11-05T12:21:54.355Z","updated_at":"2025-04-09T04:37:22.304Z","avatar_url":"https://github.com/LiMium.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# lib ANS\n\nA pure Java implementation of\n[ANS](https://en.wikipedia.org/wiki/Asymmetric_Numeral_Systems). Currently,\nonly the rANS variant has been implemented.\n\nANS has time performance similar to Huffman coding, but its compression is as\nefficient as Arithmetic coding. However, ANS requires more memory (O(N)) as\nsymbols need to be buffered and encoded in reverse order of their appearance.\nThe encoded stream also needs to be reversed, requiring temporary storage, but\nthat should not take up a lot of space (due to compression).\n\n# Design\nThis library uses an abstract Symbol Statistics interface, thus providing full\ncusomtization. Some example Statistical implementations are in the tests.\n\n# Status\n\nThe current focus is on stability. The code has been well tested (see test/),\nbut consider it beta quality as of now.\n\nFuture ideas:\n  * Use a dynamically growing stack\n  * (optimisation) : Avoid division in encoder by using \"reciprocals\", ala Alverson\n\n# License\n\nLGPL3 (See LICENSE.txt)\n\n# Credits\n\n* Jarek Duda who invented ANS\n* Code inspiration from https://github.com/rygorous/ryg_rans\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flimium%2Flibans","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flimium%2Flibans","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flimium%2Flibans/lists"}