Commit Graph

131 Commits

Author SHA1 Message Date
Lokathor cc55f669c4 Improve Write impl efficiency 2020-02-10 20:14:20 -07:00
Lokathor 574126f56b oops, dumb lifetimes. 2020-02-10 20:06:35 -07:00
Lokathor 3b06e8498c put in a highly experimental Write impl for ArrayVec of bytes 2020-02-10 20:02:56 -07:00
Lokathor 49a26a2bd5 Closes https://github.com/Lokathor/tinyvec/issues/48 2020-02-10 19:52:15 -07:00
Lokathor e95311a477 Merge pull request #61 from dxenonb/dxb/typos
Fix typos
2020-02-06 19:40:10 -07:00
dxenonb 47fd42eefd Fix typo 2020-02-06 20:57:22 -05:00
Lokathor 5fa44954ad (cargo-release) start next development iteration 0.3.3-alpha.0 2020-01-29 18:54:19 -07:00
Lokathor 52d912e38d (cargo-release) version 0.3.2 2020-01-29 18:54:16 -07:00
Lokathor 69f41c2418 Merge pull request #60 from Nemo157/macro-🚫type
Allow inferring array type for macro constructors
2020-01-29 18:51:56 -07:00
Wim Looman ac8dfa5cef Allow inferring array type for macro constructors 2020-01-28 12:51:35 +01:00
Wim Looman 6bced3d4e4 Add benchmarks of tiny_vec macro 2020-01-28 12:49:20 +01:00
Wim Looman 45275fbbc2 Make macros work without any other imports 2020-01-28 12:46:39 +01:00
Wim Looman 5e46d949af Allow trailing comma in tiny_vec! 2020-01-28 12:43:32 +01:00
Lokathor 922aa16856 Merge pull request #57 from Lokathor/optimize-large-tiny_vec-macro-usage
Makes `tiny_vec!` go directly to the heap if the CAPACITY would have overflowed.
2020-01-26 14:56:30 -07:00
Lokathor 9d42db1625 Merge pull request #58 from mgostIH/doc-fix
Fixed links in documentation by removing ::<A>
2020-01-26 14:36:12 -07:00
mgostIH a699b96036 Fixed links in documentation by removing ::<A> 2020-01-26 22:25:33 +01:00
Lokathor 8bb66c5676 Update tinyvec.rs 2020-01-26 14:20:40 -07:00
Lokathor cb41ff9d68 Merge pull request #51 from Lokathor/small-updates
Small updates
2020-01-26 14:03:11 -07:00
Lokathor 180cf57ce3 sigh 2020-01-26 13:53:13 -07:00
Lokathor 0ad90a7609 more CI runs! 2020-01-26 13:49:37 -07:00
Lokathor bcaff5d5b2 bump CI to 1.37? 2020-01-26 13:47:34 -07:00
Lokathor f5d6afb5af clippy 2020-01-26 13:47:24 -07:00
Lokathor 9cd112fb8f Merge branch 'small-updates' of https://github.com/Lokathor/tinyvec into small-updates 2020-01-26 13:38:41 -07:00
Lokathor ddf66f2222 docs, and fix up tiny_vec macro 2020-01-26 13:38:38 -07:00
Lokathor 44373a53a2 Merge branch 'master' into small-updates 2020-01-26 13:37:57 -07:00
Lokathor d296cb65a6 Merge branch 'master' into small-updates 2020-01-26 12:44:18 -07:00
Lokathor d155790c50 Merge pull request #56 from mgostIH/drain
Added more efficient implementation for ArrayVecDrain
2020-01-26 12:39:16 -07:00
Lokathor c1ec9582ac Merge pull request #54 from Nemo157/intoiter-debug
impl Debug for {Tiny,Array}VecIterator
2020-01-26 12:38:00 -07:00
Lokathor 398b3e1072 Merge pull request #52 from Nemo157/refintoiter
impl IntoIterator for &[mut] TinyVec
2020-01-26 12:36:46 -07:00
Lokathor dae49196ea Merge pull request #44 from repnop/from-impls
Add From<&[T]> and From<&mut [T]> for TinyVec
2020-01-26 11:54:59 -07:00
mgostIH fbcc24e988 Added more efficient implementation for ArrayVecDrain, changed a few internal members of the struct, tests passed 2020-01-26 13:51:25 +01:00
Wim Looman 109e9b6e61 impl Debug for {Tiny,Array}VecIterator 2020-01-24 14:40:17 +01:00
Wim Looman a033772cbd impl IntoIterator for &[mut] TinyVec 2020-01-24 14:28:57 +01:00
Wesley Norris 48905d9c43 Add TinyVec::from(slice) test 2020-01-24 08:24:44 -05:00
Lokathor d07708595a Convert code notes into GitHub issues 2020-01-24 02:46:18 -07:00
Lokathor 9459d40649 cleanups 2020-01-24 02:38:18 -07:00
Lokathor b2a9fe8e80 pipe down ya silly compiler 2020-01-24 02:38:03 -07:00
Lokathor 0f799c6b86 take should really always be inlined 2020-01-24 00:41:23 -07:00
Lokathor 212bf713a8 must_use on Array methods 2020-01-24 00:38:45 -07:00
Lokathor 9e2d179174 Update tinyvec.rs 2020-01-24 00:37:02 -07:00
Wesley Norris 6ea2d1afcb Add From<&[T]> and From<&mut [T]> for TinyVec
This adds the From trait impls for `&[T]` and `&mut [T]` to `TinyVec`,
though unfortunately until we get lazy normalization, it currently
requires that the `A: Array<item = T>` bound also be `Default`, so
it does not work for array sizes > 32.
2020-01-23 17:58:27 -05:00
Lokathor 554903f05f (cargo-release) start next development iteration 0.3.2-alpha.0 2020-01-20 18:59:27 -07:00
Lokathor 6a047adbe5 (cargo-release) version 0.3.1 2020-01-20 18:59:12 -07:00
Lokathor 08a8db9a3f add Hash to ArrayVec and TinyVec 2020-01-20 18:48:18 -07:00
Lokathor 5306d4dc7e (cargo-release) start next development iteration 0.3.1-alpha.0 2020-01-19 22:02:45 +00:00
Lokathor bea0a690fa (cargo-release) version 0.3.0 2020-01-19 22:02:42 +00:00
Lokathor dc0a87a28e ready for a 0.3 2020-01-19 22:02:14 +00:00
Lokathor 713fa03339 improve the note 2020-01-19 13:21:25 -07:00
Lokathor cc35f01600 fix an ambiguity warning/error thing 2020-01-19 13:04:08 -07:00
Lokathor 032ac155c9 cargo fmt hasn't been used in a while it seems. 2020-01-19 13:02:54 -07:00