File: README.md

package info (click to toggle)
rust-append-only-vec 0.1.7-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 160 kB
  • sloc: makefile: 2
file content (7 lines) | stat: -rw-r--r-- 874 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
# Append-only-vec
   [![Latest version](https://img.shields.io/crates/v/append-only-vec.svg)](https://crates.io/crates/append-only-vec) [![Documentation](https://docs.rs/append-only-vec/badge.svg)](https://docs.rs/append-only-vec)
[![Build Status](https://github.com/droundy/append-only-vec/actions/workflows/rust.yml/badge.svg)](https://github.com/droundy/append-only-vec/actions)

**Note:  currently there are frequent CI failures above, which are simply due to failure to install miri to run the test.  The tests do pass when run locally.**

This crate defines a single data simple structure, which is a vector to which you can only append data.  It allows you to push new data values even when there are outstanding references to elements of the `AppendOnlyVec`.  Reading from a `AppendOnlyVec` is much faster than if it had been protected by a `std::sync::RwLock`.