Add unaligned version of indexWordArray#
|Reported by:||tibbe||Owned by:|
|Type of failure:||Runtime performance bug||Test Case:|
|Related Tickets:||Differential Rev(s):|
Description (last modified by )
indexWordArray# takes an offset in whole words, making it impossible to do unaligned reads on platforms that support such reads. This has performance implications for some programs e.g. implementations of MurmurHash.
I propose we add versions of
indexWord*Array that take byte offsets. The user is responsible for only using those on platforms that support them and the implementation is free to crash if they're used elsewhere.
Change History (14)
comment:10 Changed 2 years ago by
|Component:||Core Libraries → Compiler|
|Type of failure:||None/Unknown → Runtime performance bug|