<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/compiler/rustc_data_structures/src/stable_hasher, branch master</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=master</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=master'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2025-01-11T11:34:01+00:00</updated>
<entry>
<title>rename `BitSet` to `DenseBitSet`</title>
<updated>2025-01-11T11:34:01+00:00</updated>
<author>
<name>Rémy Rakic</name>
<email>remy.rakic+github@gmail.com</email>
</author>
<published>2025-01-07T15:19:05+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=a13354bea05968799a5be5521691322274fa6a9e'/>
<id>urn:sha1:a13354bea05968799a5be5521691322274fa6a9e</id>
<content type='text'>
This should make it clearer that this bitset is dense, with the
advantages and disadvantages that it entails.
</content>
</entry>
<entry>
<title>Use uplifted `rustc-stable-hash` crate in `rustc_data_structures`</title>
<updated>2024-07-11T14:51:16+00:00</updated>
<author>
<name>Urgau</name>
<email>urgau@numericable.fr</email>
</author>
<published>2024-06-19T19:23:40+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=977439d9b8c6f42cdccb40dab94f7328cfa9d022'/>
<id>urn:sha1:977439d9b8c6f42cdccb40dab94f7328cfa9d022</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Store hashes in special types so they aren't accidentally encoded as numbers</title>
<updated>2023-04-18T14:52:47+00:00</updated>
<author>
<name>Ben Kimock</name>
<email>kimockb@gmail.com</email>
</author>
<published>2023-04-08T03:11:20+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=0445fbdd835c92156e4d06e42ce99a39e9315343'/>
<id>urn:sha1:0445fbdd835c92156e4d06e42ce99a39e9315343</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix a couple missed hash constants</title>
<updated>2023-04-05T15:48:37+00:00</updated>
<author>
<name>Thom Chiovoloni</name>
<email>thom@shift.click</email>
</author>
<published>2023-02-11T16:50:55+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=9d314627aa617637c608bc343477e9a6e7268bb5'/>
<id>urn:sha1:9d314627aa617637c608bc343477e9a6e7268bb5</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Match end user facing unmatched backticks in compiler/</title>
<updated>2023-03-03T07:39:36+00:00</updated>
<author>
<name>est31</name>
<email>MTest31@outlook.com</email>
</author>
<published>2023-03-03T07:38:07+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=ef658907a5e88563e4b67a07ba1639c7bf58756f'/>
<id>urn:sha1:ef658907a5e88563e4b67a07ba1639c7bf58756f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix `isize` optimization in `StableHasher` for big-endian architectures</title>
<updated>2022-02-03T10:47:41+00:00</updated>
<author>
<name>Jakub Beránek</name>
<email>berykubik@gmail.com</email>
</author>
<published>2022-02-03T10:47:41+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=c21b8e12a4f1bf884a87a6fb945d7c4d338737cc'/>
<id>urn:sha1:c21b8e12a4f1bf884a87a6fb945d7c4d338737cc</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Compress amount of hashed bytes for `isize` values in StableHasher</title>
<updated>2022-01-30T08:52:44+00:00</updated>
<author>
<name>Jakub Beránek</name>
<email>berykubik@gmail.com</email>
</author>
<published>2022-01-28T16:10:59+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=8de59be93302781390491666409c35e60664c3fd'/>
<id>urn:sha1:8de59be93302781390491666409c35e60664c3fd</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add test stable hash uniqueness of adjacent field values</title>
<updated>2022-01-24T14:35:52+00:00</updated>
<author>
<name>Jakub Beránek</name>
<email>berykubik@gmail.com</email>
</author>
<published>2022-01-22T09:40:52+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=1ffd043caf7598484a9f38c580aca91760a571f6'/>
<id>urn:sha1:1ffd043caf7598484a9f38c580aca91760a571f6</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Implement StableHash for BitSet and BitMatrix via Hash</title>
<updated>2021-12-18T00:00:00+00:00</updated>
<author>
<name>Tomasz Miąsko</name>
<email>tomasz.miasko@gmail.com</email>
</author>
<published>2021-12-18T00:00:00+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=d0281bcb25d779a7b27cd8d5de394f2c9f72f33c'/>
<id>urn:sha1:d0281bcb25d779a7b27cd8d5de394f2c9f72f33c</id>
<content type='text'>
This fixes an issue where bit sets / bit matrices the same word
content but a different domain size would receive the same hash.
</content>
</entry>
<entry>
<title>Stable hashing: add comments and tests concerning platform-independence</title>
<updated>2020-09-30T07:57:35+00:00</updated>
<author>
<name>Tyson Nottingham</name>
<email>tgnottingham@gmail.com</email>
</author>
<published>2020-09-29T00:34:27+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=d061fee177c70ae146db2b9720c85dc1f38215af'/>
<id>urn:sha1:d061fee177c70ae146db2b9720c85dc1f38215af</id>
<content type='text'>
SipHasher128 implements short_write in an endian-independent way, yet
its write_xxx Hasher trait methods undo this endian-independence by byte
swapping the integer inputs on big-endian hardware. StableHasher then
adds endian-independence back by also byte-swapping on big-endian
hardware prior to invoking SipHasher128.

This double swap may have the appearance of being a no-op, but is in
fact by design. In particular, we really do want SipHasher128 to be
platform-dependent, in order to be consistent with the libstd SipHasher.
Try to clarify this intent. Also, add and update a couple of unit tests.
</content>
</entry>
</feed>
