diff options
| author | Nathan Sashihara <21227491+n8sh@users.noreply.github.com> | 2019-02-12 09:33:48 -0500 |
|---|---|---|
| committer | Nathan Sashihara <21227491+n8sh@users.noreply.github.com> | 2019-02-12 10:34:18 -0500 |
| commit | a786bdbec5575bcfad6435978755064e1be5e975 (patch) | |
| tree | 5b8707765c42d63d504ebf8043b901a19304ab4b /encoding/dub.json | |
| parent | 0bef2ef76df51139d71083efa5eba175440347f0 (diff) | |
| download | tanya-a786bdbec5575bcfad6435978755064e1be5e975.tar.gz | |
Use word-wise hash instead of FNV-1a for arrays of word-aligned scalars
Also special case int-aligned scalars on 64-bit machines.
On a 64-bit machine hashing an array of pointers is now ~5.95x faster
with LDC2 and ~8.54x faster with DMD, and hashing an array of ints is
~3.34x faster with LDC2 and ~8.12x faster with DMD.
Diffstat (limited to 'encoding/dub.json')
0 files changed, 0 insertions, 0 deletions
