servo/components/hashglobe
Boris Chiou cfe6451d8e hashglobe: Dump more information if out of memory while allocating a table.
Sometimes, we got a crash message:
"called `Result::unwrap()` on an `Err` value: FailedAllocationError {
reason: "out of memory when allocating RawTable" }" on stylo, but
this is not enough to debug, so let's add one more field in
FailedAllocationError, so we can know the size we are allocating.
2017-12-06 16:37:14 +08:00
..
src hashglobe: Dump more information if out of memory while allocating a table. 2017-12-06 16:37:14 +08:00
Cargo.toml Replace all uses of the heapsize crate with malloc_size_of. 2017-10-18 22:20:37 +11:00
LICENSE-APACHE Move to components/hashglobe 2017-08-31 15:17:02 -07:00
LICENSE-MIT Move to components/hashglobe 2017-08-31 15:17:02 -07:00
README.md Move to components/hashglobe 2017-08-31 15:17:02 -07:00

hashglobe

This is a fork of Rust's std::HashMap. It works on stable out of the stdlib and has fallible APIs.

We intend to diverge as little as possible from the original hashmap.

Dual licensed Apache/MIT, the same as the stdlib.

Should I use this?

No.

Wait for https://github.com/rust-lang/rfcs/pull/2116 instead.