Neil Roberts
4e03bd47bf
pipeline-hash-table: Store the hash value in the entry
...
Calculating the hash value for a pipeline can be a bit expensive.
Previously when adding a new pipeline to the hash table we would end
up calculating the hash value once when checking whether the pipeline
is already in the hash table and then again when adding the pipeline
to the hash table. Ideally GHashTable would provide some API to add an
entry with a precalculated hash value to avoid the recalculation, but
seeing as it doesn't do that we can force it to avoid recalculating by
storing the hash value as part of the struct we are using for the key.
That way the hash func passed to GHashTable can simply return the
precalculated value and we can calculate the hash outside of the
GHashTable calls.
Reviewed-by: Robert Bragg <robert@linux.intel.com>
(cherry picked from commit 4a0460a452fd1be382fd5a92d8cfd5e0cdfd4403)
2013-04-04 13:38:43 +01:00
..
2013-03-06 16:45:31 +00:00
2013-01-22 17:48:07 +00:00
2013-02-20 14:55:44 +00:00
2013-03-24 23:55:10 +00:00
2013-01-22 17:48:05 +00:00
2013-01-22 17:47:39 +00:00
2013-01-22 17:48:05 +00:00
2011-09-09 15:06:31 +01:00
2013-01-22 17:48:18 +00:00
2013-01-22 17:48:05 +00:00
2011-05-06 12:12:08 +01:00
2011-09-09 15:06:31 +01:00
2013-01-22 17:48:17 +00:00
2013-01-22 17:48:17 +00:00
2013-01-22 17:48:17 +00:00
2013-01-22 17:48:07 +00:00
2011-05-16 14:31:31 +01:00
2013-01-22 17:48:07 +00:00
2013-01-22 17:48:07 +00:00
2013-01-22 17:48:07 +00:00
2013-01-22 17:48:07 +00:00
2013-01-22 17:48:07 +00:00
2013-01-25 18:21:09 +00:00
2013-01-22 18:00:11 +00:00
2013-01-22 18:00:11 +00:00
2013-04-04 13:37:51 +01:00
2013-01-22 17:48:08 +00:00
2013-03-06 16:44:52 +00:00
2013-01-22 17:48:16 +00:00
2012-08-06 14:27:39 +01:00
2013-01-22 17:48:05 +00:00
2013-01-22 17:48:17 +00:00
2013-01-22 17:47:39 +00:00
2013-01-22 17:48:17 +00:00
2013-01-22 17:48:08 +00:00
2013-01-22 17:48:17 +00:00
2012-08-06 14:27:45 +01:00
2013-01-22 17:48:07 +00:00
2013-03-06 16:46:03 +00:00
2013-01-22 17:48:16 +00:00
2013-01-22 17:48:17 +00:00
2013-01-22 17:48:19 +00:00
2011-12-06 18:51:57 +00:00
2013-01-22 17:48:17 +00:00
2013-01-22 17:48:05 +00:00
2013-01-22 17:48:05 +00:00
2013-01-22 17:48:01 +00:00
2013-01-22 17:48:05 +00:00
2012-08-06 14:27:39 +01:00
2013-01-22 17:48:03 +00:00
2013-01-22 17:48:16 +00:00
2012-08-06 18:51:33 +01:00
2013-01-22 17:47:24 +00:00
2013-02-13 18:47:16 +00:00
2013-02-13 18:47:16 +00:00
2013-01-30 20:09:49 +00:00
2012-08-06 14:27:40 +01:00
2012-08-06 18:51:33 +01:00
2013-01-22 17:48:05 +00:00
2013-01-22 17:48:05 +00:00
2012-08-06 14:27:45 +01:00
2012-08-06 14:27:45 +01:00
2010-03-01 12:56:10 +00:00
2011-05-16 18:45:51 +01:00
2012-08-06 14:27:39 +01:00
2013-01-22 17:48:15 +00:00
2013-01-22 17:48:17 +00:00
2013-01-22 17:48:17 +00:00
2013-01-22 17:48:13 +00:00
2013-01-22 17:48:18 +00:00
2012-08-06 18:51:32 +01:00
2013-01-22 17:48:05 +00:00
2012-08-06 14:27:39 +01:00
2013-01-22 17:48:16 +00:00
2013-01-22 17:48:08 +00:00
2013-01-22 17:48:08 +00:00
2013-01-22 17:48:15 +00:00
2012-08-06 14:27:39 +01:00
2013-01-22 17:48:13 +00:00
2013-01-22 17:48:01 +00:00
2013-01-22 17:48:17 +00:00
2012-08-06 14:27:39 +01:00
2013-01-22 17:48:05 +00:00
2013-01-22 17:48:05 +00:00
2013-01-30 20:09:49 +00:00
2013-01-30 20:09:49 +00:00
2013-01-30 20:09:49 +00:00
2013-01-22 17:48:18 +00:00
2013-03-06 16:45:14 +00:00
2013-01-22 17:48:18 +00:00
2012-08-06 14:27:45 +01:00
2012-08-06 14:27:45 +01:00
2012-09-17 23:06:21 +01:00
2013-01-22 17:47:58 +00:00
2013-01-08 14:56:25 +01:00
2013-01-22 17:48:13 +00:00
2012-09-17 23:06:20 +01:00
2012-08-06 14:27:45 +01:00
2013-01-22 17:48:07 +00:00
2013-01-22 17:48:07 +00:00
2013-01-22 17:48:17 +00:00
2013-01-30 20:09:49 +00:00
2013-01-30 20:09:49 +00:00
2012-08-06 14:27:42 +01:00
2013-01-22 17:48:04 +00:00
2012-08-06 14:27:39 +01:00
2011-05-16 14:31:31 +01:00
2013-01-22 17:47:59 +00:00
2013-01-22 17:48:05 +00:00
2011-05-16 14:31:31 +01:00
2013-01-22 17:48:07 +00:00
2013-01-22 17:48:13 +00:00
2013-01-22 17:48:19 +00:00
2013-02-19 11:06:59 +00:00
2013-01-22 17:48:05 +00:00
2013-01-22 17:48:05 +00:00
2013-01-22 17:48:05 +00:00
2012-08-06 14:27:40 +01:00
2013-01-22 17:47:39 +00:00
2013-01-22 17:47:39 +00:00
2013-01-22 17:48:05 +00:00
2013-01-22 17:48:19 +00:00
2013-01-22 17:48:17 +00:00
2013-01-22 17:48:15 +00:00
2013-01-18 17:28:25 +00:00
2013-01-22 17:48:12 +00:00
2013-01-22 17:48:05 +00:00
2012-08-06 18:51:32 +01:00
2013-01-22 20:11:25 +00:00
2013-01-22 17:48:16 +00:00
2012-08-06 14:27:39 +01:00
2012-08-06 14:27:39 +01:00
2012-08-06 14:27:39 +01:00
2012-02-20 23:16:37 +00:00
2013-02-22 16:36:38 +01:00
2013-01-22 17:48:12 +00:00
2013-01-30 20:09:49 +00:00
2011-11-01 12:03:02 +00:00
2012-08-06 14:27:42 +01:00
2013-01-22 17:48:05 +00:00
2013-02-03 10:07:47 +01:00
2013-01-30 20:09:49 +00:00
2013-01-30 19:56:45 +00:00
2013-01-30 19:56:45 +00:00
2013-01-30 19:56:45 +00:00
2011-05-16 13:28:17 +01:00
2013-01-22 17:48:05 +00:00
2012-08-06 14:27:39 +01:00
2013-01-22 17:48:17 +00:00
2013-01-22 17:48:16 +00:00
2013-04-04 13:38:41 +01:00
2013-01-22 17:48:16 +00:00
2012-08-06 14:27:39 +01:00
2013-04-04 13:38:43 +01:00
2013-04-04 13:38:41 +01:00
2013-01-22 17:48:19 +00:00
2012-08-06 14:27:39 +01:00
2013-01-22 17:48:09 +00:00
2013-01-22 17:48:16 +00:00
2013-01-22 17:48:01 +00:00
2013-01-22 17:48:19 +00:00
2013-02-27 14:43:55 +00:00
2013-03-20 14:37:58 +00:00
2012-08-06 14:27:39 +01:00
2013-01-22 17:48:01 +00:00
2013-01-22 17:48:15 +00:00
2013-03-19 17:53:43 +00:00
2013-01-22 17:48:05 +00:00
2013-01-22 17:48:05 +00:00
2013-01-22 17:48:07 +00:00
2013-01-22 17:48:05 +00:00
2013-01-22 17:48:05 +00:00
2012-08-06 14:27:39 +01:00
2013-02-04 13:35:59 +00:00
2013-01-22 17:48:14 +00:00
2013-01-22 17:48:19 +00:00
2012-08-06 14:27:39 +01:00
2013-01-22 17:48:05 +00:00
2012-09-03 15:51:44 +01:00
2013-01-22 17:48:16 +00:00
2013-01-22 17:48:05 +00:00
2013-01-22 17:48:17 +00:00
2013-01-22 17:48:05 +00:00
2013-01-25 18:21:09 +00:00
2012-09-03 15:51:45 +01:00
2010-09-14 12:43:17 +01:00
2013-01-22 17:48:17 +00:00
2013-01-22 17:48:17 +00:00
2011-05-16 14:11:47 +01:00
2013-01-22 17:48:13 +00:00
2013-01-22 17:48:14 +00:00
2011-07-01 17:52:55 +01:00
2012-08-06 14:27:39 +01:00
2013-01-22 17:48:05 +00:00
2013-02-03 10:07:47 +01:00
2013-01-30 19:57:22 +00:00
2013-01-30 19:57:22 +00:00
2012-08-06 14:27:41 +01:00
2013-01-22 17:48:17 +00:00
2013-02-03 10:07:47 +01:00
2013-01-22 17:48:16 +00:00
2013-01-22 17:48:07 +00:00
2013-01-22 17:48:17 +00:00
2013-01-22 17:48:05 +00:00
2012-08-06 14:27:39 +01:00
2012-08-06 14:27:39 +01:00
2013-02-27 14:43:55 +00:00
2013-01-22 17:48:17 +00:00
2012-08-06 14:27:39 +01:00
2013-01-22 17:48:17 +00:00
2013-01-22 17:48:17 +00:00
2013-01-22 17:48:13 +00:00
2012-08-06 14:27:39 +01:00
2012-08-06 14:27:39 +01:00
2013-01-22 17:48:05 +00:00
2013-01-22 17:48:05 +00:00
2013-01-22 17:48:17 +00:00
2013-01-22 17:48:17 +00:00
2013-01-22 17:48:19 +00:00
2013-01-22 17:48:17 +00:00
2013-01-22 17:48:17 +00:00
2013-01-22 17:48:17 +00:00
2013-01-22 17:48:17 +00:00
2013-01-22 17:48:17 +00:00
2013-01-22 17:48:17 +00:00
2013-01-22 17:48:09 +00:00
2013-01-22 17:48:17 +00:00
2013-01-22 17:48:17 +00:00
2013-01-25 18:21:09 +00:00
2013-01-22 17:48:15 +00:00
2013-02-13 18:47:16 +00:00
2013-01-22 17:48:17 +00:00
2013-01-30 20:09:49 +00:00
2012-08-14 18:55:42 +01:00
2013-01-22 17:48:11 +00:00
2012-08-06 14:27:39 +01:00
2013-01-22 17:48:16 +00:00
2012-09-03 15:48:05 +01:00
2012-08-06 14:27:39 +01:00
2013-01-22 17:48:17 +00:00
2013-01-22 17:48:05 +00:00
2013-01-22 17:48:05 +00:00
2013-01-22 17:48:13 +00:00
2013-01-22 17:48:05 +00:00
2011-06-30 14:33:13 +01:00
2013-01-22 17:48:13 +00:00
2013-01-30 20:09:49 +00:00
2012-02-20 23:12:45 +00:00
2013-01-30 19:56:45 +00:00
2013-01-30 19:56:45 +00:00
2013-01-22 17:48:13 +00:00
2013-01-22 17:48:17 +00:00
2013-01-22 17:48:05 +00:00
2013-01-22 17:48:17 +00:00
2013-01-30 20:09:49 +00:00
2012-08-06 14:27:42 +01:00
2013-03-15 00:25:41 +08:00
2013-04-04 13:38:41 +01:00
2013-01-18 17:28:25 +00:00