Files
rust/src
Yuki Okushi 6bdd1beca6 Rollup merge of #66280 - stepancheg:union, r=alexcrichton
Fix HashSet::union performance

Consider this example: small_set = 0..2, large_set = 0..1000.

To efficiently compute the union of these sets, we should
* take all elements of the larger set
* for each element of the smaller set check it is not in the larger set

This is exactly what this commit does.

This particular optimization was implemented a year ago, but the
author mistaken `<` and `>`.
2019-11-12 16:36:15 +09:00
..
2019-11-02 23:20:28 +01:00
2019-11-04 15:59:09 +01:00
2019-11-06 12:49:20 -08:00
2019-11-04 15:59:09 +01:00
2019-11-04 15:59:09 +01:00
2019-11-10 12:45:31 +01:00
2019-11-04 15:59:09 +01:00
2019-11-10 23:53:44 +00:00
2019-11-11 11:41:10 -08:00
2019-10-24 13:32:54 -05:00

This directory contains the source code of the rust project, including:

  • rustc and its tests
  • libstd
  • Various submodules for tools, like rustdoc, rls, etc.

For more information on how various parts of the compiler work, see the rustc guide.