From 4359d22cd6bb5df08a4e626e776d1cd4a870bc98 Mon Sep 17 00:00:00 2001 From: tower120 Date: Fri, 10 May 2024 09:48:47 +0300 Subject: [PATCH] Readme update --- Cargo.toml | 2 +- Readme.md | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 1791bb9..2f7d1ef 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -2,7 +2,7 @@ name = "any_vec" authors = ["Andrey Diduh "] license = "MIT OR Apache-2.0" -version = "0.13.0" +version = "0.14.0" edition = "2021" description = "Type erased vector. Most operations can be done without type knowledge. Mostly zero overhead." repository = "https://github.com/tower120/any_vec" diff --git a/Readme.md b/Readme.md index 1dd4f57..a9e8a4b 100644 --- a/Readme.md +++ b/Readme.md @@ -5,7 +5,9 @@ Type erased vector. All elements have the same type. -Designed to be type-erased as far as possible - most of the operations does not know about concrete type. +Designed to be type-erased as far as possible - most operations do not know a concrete type. +For example, you can move or copy/clone items from one type-erased vector to another, without ever knowing +their type. Or you can erase, swap, move, copy elements inside type-erased vector, etc... Only type-erased destruct and clone operations have additional overhead of indirect call.