You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We should add some hashtable benchmarks into our set of benchmarks. It's a rather central data structure to the compiler but also most programs. Ideally the benchmark would be targeted against a generic interface so that it can be used to compare the wealth of hashtables that we will eventually offer. =)
The text was updated successfully, but these errors were encountered:
I'm closing this since there's a generic core-map benchmark now. It would be useful to benchmark the hash separately though and compare to optimized SipHash 2-4 implementations.
Fetch functions of `atomic_ptr` calls atomic intrinsic functions with
pointer-type arguments (`invalid_mut`), which will cause typecheck
failures. The change in this commit add support of pointer-type
arguments into `codegen_atomic_binop` to fix the issue. The new
`codegen_atomic_binop` will cast pointer arguments to `size_t`, apply op
on them, and then cast the op result back to the pointer type.
The new test include all fetch functions of `atomic_ptr` except for
`fetch_ptr_add` and `fetch_ptr_sub`, which do not call intrinsic
functions.
Resolvesrust-lang#3042.
---------
Co-authored-by: Adrian Palacios <[email protected]>
Co-authored-by: Zyad Hassan <[email protected]>
We should add some hashtable benchmarks into our set of benchmarks. It's a rather central data structure to the compiler but also most programs. Ideally the benchmark would be targeted against a generic interface so that it can be used to compare the wealth of hashtables that we will eventually offer. =)
The text was updated successfully, but these errors were encountered: