Rafael Espindola
becf204913
Add a CachedHash structure.
...
A DenseMap doesn't store the hashes, so it needs to recompute them when
the table is resized.
In some applications the hashing cost is noticeable. That is the case
for example in lld for symbol names (StringRef).
This patch adds a templated structure that can wraps any value that can
go in a DenseMap and caches the hash.
llvm-svn: 266981
2016-04-21 12:16:21 +00:00
..
2016-04-18 09:17:29 +00:00
2016-04-16 07:51:28 +00:00
2015-06-24 17:05:04 +00:00
2015-09-10 00:05:04 +00:00
2015-09-18 15:08:24 +00:00
2016-03-25 19:28:08 +00:00
2015-04-11 02:11:45 +00:00
2015-04-11 02:11:45 +00:00
2016-04-21 12:16:21 +00:00
2014-10-19 19:36:33 +00:00
2015-09-04 15:28:13 +00:00
2014-11-12 02:06:08 +00:00
2015-03-03 19:52:59 +00:00
2015-11-11 02:26:42 +00:00
2014-06-08 22:29:17 +00:00
2013-11-19 03:08:35 +00:00
2014-03-09 11:20:17 +00:00
2015-03-25 00:50:21 +00:00
2015-08-19 23:07:27 +00:00
2015-08-12 23:26:12 +00:00
2016-02-18 21:00:08 +00:00
2016-01-13 05:59:13 +00:00
2016-01-10 08:48:23 +00:00
2014-06-08 22:29:17 +00:00
2014-11-20 19:33:33 +00:00
2015-07-29 22:19:09 +00:00
2016-04-05 20:45:04 +00:00
2016-03-25 19:28:08 +00:00
2016-01-29 03:34:36 +00:00
2016-04-05 20:45:04 +00:00
2016-04-05 20:45:04 +00:00
2015-07-20 18:26:23 +00:00
2013-01-22 10:39:31 +00:00
2016-03-14 18:10:41 +00:00
2016-04-16 07:51:28 +00:00
2016-03-23 21:49:31 +00:00
2016-04-18 09:17:29 +00:00
2016-02-13 01:56:21 +00:00
2015-03-17 09:51:17 +00:00
2011-12-17 10:20:15 +00:00