{"id":21121460,"url":"https://github.com/oneofone/segmentedslice","last_synced_at":"2025-03-14T11:24:21.400Z","repository":{"id":57602998,"uuid":"79669870","full_name":"OneOfOne/segmentedSlice","owner":"OneOfOne","description":"A fast, index-able, sort-able, grow-only Slice.","archived":false,"fork":false,"pushed_at":"2017-03-10T17:21:44.000Z","size":20,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-21T05:25:06.449Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","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/OneOfOne.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}},"created_at":"2017-01-21T20:08:46.000Z","updated_at":"2017-07-19T05:10:07.000Z","dependencies_parsed_at":"2022-09-26T20:01:41.754Z","dependency_job_id":null,"html_url":"https://github.com/OneOfOne/segmentedSlice","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/OneOfOne%2FsegmentedSlice","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OneOfOne%2FsegmentedSlice/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OneOfOne%2FsegmentedSlice/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OneOfOne%2FsegmentedSlice/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/OneOfOne","download_url":"https://codeload.github.com/OneOfOne/segmentedSlice/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243566539,"owners_count":20311897,"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":[],"created_at":"2024-11-20T03:50:35.859Z","updated_at":"2025-03-14T11:24:21.356Z","avatar_url":"https://github.com/OneOfOne.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SegmentedSlice [![GoDoc](http://godoc.org/github.com/OneOfOne/segmentedSlice?status.svg)](http://godoc.org/github.com/OneOfOne/segmentedSlice) [![Build Status](https://travis-ci.org/OneOfOne/segmentedSlice.svg?branch=master)](https://travis-ci.org/OneOfOne/segmentedSlice)\nA fast, index-able, sort-able, grow-only Slice.\n\n## FAQ\n\n### Why?\n* Appending to a normal slice can get slow and very memory heavy as the slice grows,\n\tand for a lot of work loads it's usually append-only with some sorting.\n\n\n## Benchmarks\n\n```go\n➤ go18 test -bench=. -benchmem -benchtime=5s\nBenchmarkAppendSegmentedSlice-8         200000000               42.4 ns/op            25 B/op          1 allocs/op\nBenchmarkAppendNormalSlice-8            20000000               252 ns/op              88 B/op          1 allocs/op\nPASS\nok      github.com/OneOfOne/segmentedSlice      20.752s\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foneofone%2Fsegmentedslice","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foneofone%2Fsegmentedslice","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foneofone%2Fsegmentedslice/lists"}