Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: servo/rust-smallvec
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v2.0.0-alpha.9
Choose a base ref
...
head repository: servo/rust-smallvec
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v2
Choose a head ref
  • 13 commits
  • 6 files changed
  • 7 contributors

Commits on Dec 18, 2024

  1. Simplify extend_impl

    mbrubeck committed Dec 18, 2024
    Configuration menu
    Copy the full SHA
    a176a87 View commit details
    Browse the repository at this point in the history

Commits on Jan 15, 2025

  1. Impl Send/Sync for IntoIter (#368)

    Closes #367.
    mbrubeck authored Jan 15, 2025
    Configuration menu
    Copy the full SHA
    1289db6 View commit details
    Browse the repository at this point in the history
  2. Version 2.0.0-alpha.10

    mbrubeck committed Jan 15, 2025
    Configuration menu
    Copy the full SHA
    9a23ebf View commit details
    Browse the repository at this point in the history

Commits on Mar 11, 2025

  1. Implement MallocSizeOf for SmallVec (v2) (#369)

    * Implement MallocSizeOf for SmallVec (v2)
    
    Signed-off-by: Nico Burns <[email protected]>
    
    * Bump malloc_size_of crate to version with lower MSRV
    
    Signed-off-by: Nico Burns <[email protected]>
    
    ---------
    
    Signed-off-by: Nico Burns <[email protected]>
    nicoburns authored Mar 11, 2025
    Configuration menu
    Copy the full SHA
    30c30a6 View commit details
    Browse the repository at this point in the history

Commits on Mar 20, 2025

  1. Configuration menu
    Copy the full SHA
    4aaa028 View commit details
    Browse the repository at this point in the history
  2. Version 2.0.0-alpha.11

    mbrubeck committed Mar 20, 2025
    Configuration menu
    Copy the full SHA
    2390f2d View commit details
    Browse the repository at this point in the history

Commits on Mar 21, 2025

  1. Configuration menu
    Copy the full SHA
    395763c View commit details
    Browse the repository at this point in the history

Commits on Apr 28, 2025

  1. reimplement from_buf (#377)

    otcova authored Apr 28, 2025
    Configuration menu
    Copy the full SHA
    6ba116c View commit details
    Browse the repository at this point in the history
  2. v2: Bump MSRV to 1.83 (#378)

    * v2: Bump MSRV to 1.83
    
    * Run GitHub checks on merge_group
    mbrubeck authored Apr 28, 2025
    Configuration menu
    Copy the full SHA
    3906fe4 View commit details
    Browse the repository at this point in the history

Commits on May 27, 2025

  1. Configuration menu
    Copy the full SHA
    dff2390 View commit details
    Browse the repository at this point in the history
  2. Update the extract_if feature (#381)

    * Update the `extract_if` feature
    
    * doctest
    TDecking authored May 27, 2025
    Configuration menu
    Copy the full SHA
    05ca4ed View commit details
    Browse the repository at this point in the history

Commits on May 30, 2025

  1. Configuration menu
    Copy the full SHA
    4fe4068 View commit details
    Browse the repository at this point in the history

Commits on Jun 5, 2025

  1. Shrink code produced by smallvec![]. (#385)

    Currently `smallvec![]` expands to this:
    ```
    {
        let count = 0usize;
        #[allow(unused_mut)]
        let mut vec = ::smallvec::SmallVec::new();
        if count <= vec.capacity() {
    	vec
        } else {
    	::smallvec::SmallVec::from_vec(::alloc::vec::Vec::new())
        }
    };
    ```
    This commit adds a rule to the `smallvec!` macro for the zero-length
    case so it instead expands to this:
    ```
    ::smallvec::SmallVec::new()
    ```
    The `std::vec!` macro already has a similar special case.
    
    This commit also improves the non-zero case.
    - It removes the `#[allow(unused_mut)]`, which was only needed for the
      zero-length case.
    - It changes the `*` repetitions to `+`. (Again, like `std::vec`.)
    nnethercote authored Jun 5, 2025
    Configuration menu
    Copy the full SHA
    71c8abb View commit details
    Browse the repository at this point in the history
Loading