Skip to content

Bump im from 10.2.0 to 12.3.0#17

Closed
dependabot-preview[bot] wants to merge 1 commit into
masterfrom
dependabot/cargo/im-12.3.0
Closed

Bump im from 10.2.0 to 12.3.0#17
dependabot-preview[bot] wants to merge 1 commit into
masterfrom
dependabot/cargo/im-12.3.0

Conversation

@dependabot-preview

@dependabot-preview dependabot-preview Bot commented Jan 16, 2019

Copy link
Copy Markdown
Contributor

Bumps im from 10.2.0 to 12.3.0.

Release notes

Sourced from im's releases.

12.3.0

Added

  • singleton methods have been deprecated and renamed to unit.
  • Vector::chunks and Vector::chunks_mut have been deprecated and renamed to leaves and leaves_mut to avoid confusion with Vec::chunks. (#50)

Fixed

  • Fixed an issue where the HashMap draining iterator might access uninitialised memory leading to undefined behaviour. (#60)
  • Fixed multiple issues in Vector::split_off and Vector::append that would cause lookup errors and unexpectedly unbalanced trees. (#55).

12.2.0

Added

  • OrdMap and OrdSet now have a range() method which makes an iterator over a bounded subset of the values. The improved iterator implementation is also considerably more efficient than the previous (about an order of magnitude faster for nontrivial data sets). iter() has been updated to take advantage of this, and is now just an alias for range(..). (#27)
  • FocusMut now has an unmut method to turn it into an immutable Focus, releasing its exclusive hold on the underlying Vector.
  • Focus now implements Clone.

12.1.0

Added

  • Maps and sets now have the clear method just like Vector. (#46)

Changed

  • Single chunk Vectors are no longer allocated directly on the stack, meaning that they're now comparable in performance to std::vec::Vec rather than slightly faster, but they also won't eat up your stack space quite as quickly, and they'll clone without copying and share structure with clones as you'd expect.

12.0.0

Starting with this release, the arc flag is gone, in favour of publishing im as two separate crates: im (using Arc) and im-rc (using Rc). They're identical (and built from the same code), except that im is thread safe and im-rc is a little bit more performant.

This is a major release as a consequence, but there should be no breaking code changes other than the new default choice of reference counter.

Added

  • The Chunk datatype that's used to build Vector and OrdMap has been exposed and made generally usable. It's somewhere between a GenericArray and a ring buffer, offers O(1)* push in either direction, and is generally hyperoptimised for its purpose of serving as nodes for Bagwell tries, but it's also a powered up version of GenericArray that might be useful to others, hence the public API.
  • Vector now has Focus and FocusMut APIs for caching index lookups, yielding huge performance gains when performing multiple adjacent index lookups. Vector::iter has been reimplemented using this API, and is now much simpler and about twice as fast as a result, and Vector::iter_mut now runs nearly an order of magnitude faster. Likewise, Vector::sort and Vector::retain are now using FocusMut and run considerably faster as a result.
  • Focus and FocusMut can also be used as stand ins for subslices through the narrow and split_at methods. You can also iterate over foci, making this the most efficient way to iterate over a subset of a Vector.
  • Vector now implements Rayon's parallel iterators behind the rayon feature flag.

Changed

  • As std::ops::RangeBounds is now stabilised in Rust 1.28, the Vector::slice method is now unconditionally available on the stable channel.
  • Union/difference/intersection/is_submap methods on HashMap and OrdMap that take functions now take FnMut instead of Fn. This should not affect any existing code. (#34)
  • Vector::split_off can now take an index equal to the length of the vector, yielding an empty vector as the split result. (#33)
  • Vector::set now returns the replaced value.

Fixed

  • Vector is now represented as a single inline chunk until it grows larger than the chunk size, making it even faster than Vec at small sizes, though clone could now be slower if the clone is expensive (it's still absurdly fast for A: Copy).

11.0.1

Fixed

  • Various performance improvements, amounting to a 5-10% speedup for both kinds of map/set.
  • Fixed an edge case bug in sort::quicksort.

11.0.0

... (truncated)
Changelog

Sourced from im's changelog.

[12.3.0] - 2019-01-15

Added

  • singleton methods have been deprecated and renamed to unit.
  • Vector::chunks and Vector::chunks_mut have been deprecated and renamed to
    leaves and leaves_mut to avoid confusion with Vec::chunks. (#50)

Fixed

  • Fixed an issue where the HashMap draining iterator might access uninitialised memory leading to
    undefined behaviour. (#60)
  • Fixed multiple issues in Vector::split_off and Vector::append that would cause lookup errors
    and unexpectedly unbalanced trees. (#55).

[12.2.0] - 2018-10-12

Added

  • OrdMap and OrdSet now have a range() method which makes an iterator over
    a bounded subset of the values. The improved iterator implementation is also
    considerably more efficient than the previous (about an order of magnitude
    faster for nontrivial data sets). iter() has been updated to take advantage
    of this, and is now just an alias for range(..). (#27)
  • FocusMut now has an unmut method to turn it into an immutable Focus,
    releasing its exclusive hold on the underlying Vector.
  • Focus now implements Clone.

[12.1.0] - 2018-09-25

Added

  • Maps and sets now have the clear method just like Vector. (#46)

Changed

  • Single chunk Vectors are no longer allocated directly on the stack, meaning
    that they're now comparable in performance to std::vec::Vec rather than
    slightly faster, but they also won't eat up your stack space quite as quickly,
    and they'll clone without copying and share structure with clones as you'd
    expect.

[12.0.0] - 2018-08-30

Starting with this release, the arc flag is gone, in favour of publishing im
as two separate crates: im (using Arc) and im-rc (using Rc). They're
identical (and built from the same code), except that im is thread safe and
im-rc is a little bit more performant.

This is a major release as a consequence, but there should be no breaking code
changes other than the new default choice of reference counter.

Added

... (truncated)
Commits
  • c901d48 (cargo-release) version 12.3.0
  • fc4d1aa Update changelog for release.
  • 6990c68 Sync rc/Cargo.toml.
  • 8fefc93 Use an absolute link for the Code of Conduct.
  • fa46c0f Scoped lints appear to work on stable now; remove conditionals.
  • 75d856f Simplified draining iterators for SparseChunk and hamt::Node.
  • 5ca2911 A test for Bitmap.
  • cb431a6 Many Vector merging/splitting bug fixes.
  • da13ed1 Add a Debug implementation for Side.
  • 4094cff Update quickcheck requirement from 0.7 to 0.8
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Note: This repo was added to Dependabot recently, so you'll receive a maximum of 5 PRs for your first few update runs. Once an update run creates fewer than 5 PRs we'll remove that limit.

You can always request more updates by clicking Bump now in your Dependabot dashboard.

Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot ignore this [patch|minor|major] version will close this PR and stop Dependabot creating any more for this minor/major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
  • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in your Dependabot dashboard:

  • Update frequency (including time of day and day of week)
  • Automerge options (never/patch/minor, and dev/runtime dependencies)
  • Pull request limits (per update run and/or open at any time)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

Finally, you can contact us by mentioning @dependabot.

@dependabot-preview dependabot-preview Bot added the dependencies Pull requests that update a dependency file label Jan 16, 2019
@dependabot-preview
dependabot-preview Bot force-pushed the dependabot/cargo/im-12.3.0 branch from 6030f70 to c5dcb6a Compare January 18, 2019 13:40
Bumps [im](https://github.com/bodil/im-rs) from 10.2.0 to 12.3.0.
- [Release notes](https://github.com/bodil/im-rs/releases)
- [Changelog](https://github.com/bodil/im-rs/blob/master/CHANGELOG.md)
- [Commits](bodil/im-rs@10.2.0...12.3.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
@dependabot-preview
dependabot-preview Bot force-pushed the dependabot/cargo/im-12.3.0 branch from c5dcb6a to 0a9a916 Compare January 30, 2019 12:04
@dependabot-preview

Copy link
Copy Markdown
Contributor Author

Superseded by #21.

@dependabot-preview
dependabot-preview Bot deleted the dependabot/cargo/im-12.3.0 branch February 20, 2019 06:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant