{"id":30252136,"url":"https://github.com/bgmp/lcparrayconstructor","last_synced_at":"2025-08-15T11:13:30.140Z","repository":{"id":298162064,"uuid":"998210207","full_name":"BGMP/LCPArrayConstructor","owner":"BGMP","description":"A C program that constructs LCP (Longest Common Prefix) arrays from text files and outputs them as binary files compatible with DACs (Directly Addressable Codes)","archived":false,"fork":false,"pushed_at":"2025-06-09T04:35:41.000Z","size":9,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-08-10T15:12:48.048Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/BGMP.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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,"zenodo":null}},"created_at":"2025-06-08T05:22:01.000Z","updated_at":"2025-06-09T04:35:44.000Z","dependencies_parsed_at":"2025-06-09T18:56:14.884Z","dependency_job_id":"73b15f8c-6eb4-4b80-9e4a-2498a8565945","html_url":"https://github.com/BGMP/LCPArrayConstructor","commit_stats":null,"previous_names":["bgmp/lcparrayconstructor"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/BGMP/LCPArrayConstructor","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BGMP%2FLCPArrayConstructor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BGMP%2FLCPArrayConstructor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BGMP%2FLCPArrayConstructor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BGMP%2FLCPArrayConstructor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BGMP","download_url":"https://codeload.github.com/BGMP/LCPArrayConstructor/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BGMP%2FLCPArrayConstructor/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270559152,"owners_count":24606675,"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","status":"online","status_checked_at":"2025-08-15T02:00:12.559Z","response_time":110,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2025-08-15T11:13:27.374Z","updated_at":"2025-08-15T11:13:30.130Z","avatar_url":"https://github.com/BGMP.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# LCP Array Constructor\nA C program that constructs LCP (Longest Common Prefix) arrays from text files and outputs them as binary files\ncompatible with DACs (Directly Addressable Codes).\n\n## What it does\nThis program takes any text file and:\n\n1. **Builds a suffix array** - sorts all suffixes of the text lexicographically\n2. **Computes the LCP array** - calculates how many characters each suffix shares with the previous one\n3. **Outputs a binary file** - saves the LCP values as 32-bit integers ready for compression algorithms like DACs\n\nThe LCP array is essential for testing variable-length encoding schemes on realistic integer sequences where most values\nare small but some can be very large.\n\n## Build Instructions\n### Prerequisites\n  * CMake 3.27 or higher\n  * C++ compiler with C++17 support (GCC, Clang, or MSVC)\n\n### Building\n```sh\n# Clone or download the project\ncd LCPArrayConstructor\n\n# Create build directory\nmkdir build\ncd build\n\n# Configure and build\ncmake ..\nmake\n\n# Or on Windows with Visual Studio\ncmake ..\ncmake --build . --config Release\n```\n\n## Usage\n```sh\n./LCPArrayGenerator \u003cinput_text_file\u003e \u003coutput_binary_file\u003e\n```\n\n### Options\n  * -l, --little-endian - Output in little-endian format\n  * -b, --big-endian - Output in big-endian format\n  * -h, --help - Show help message with usage examples\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbgmp%2Flcparrayconstructor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbgmp%2Flcparrayconstructor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbgmp%2Flcparrayconstructor/lists"}