Mikhail Zarechenskiy
932d84d568
Fix performance regression in NI by fixing totally incorrect hashCode
...
The actual problem was introduced in 4f1e85b468 , note how `hashCode` is implemented:
```
var currentHashCode = cachedHashCode
if (currentHashCode == 0) return currentHashCode
...
```
It's a silly bug, there should be check `if (currentHashCode != 0) ...` because `0` is used a marker for "uncomputed value".
Now, in the commit 0219b86d06 I added map with `KotlinType` as a key and because of constant `hash` for `KotlinType`, we basically got `List` instead of `Map`, which caused this performance regression
#KT-34063 Fixed
2019-09-30 10:22:30 +03:00
..
2019-06-25 14:09:34 +03:00
2019-06-18 19:38:02 +03:00
2019-09-30 10:22:30 +03:00
2019-08-07 15:21:16 +03:00
2019-04-25 16:19:37 +03:00
2019-08-15 13:01:39 +03:00
2019-05-23 12:23:22 +03:00
2019-05-23 12:23:22 +03:00
2019-06-07 12:31:38 +03:00
2019-04-25 16:19:37 +03:00
2019-04-25 16:19:37 +03:00
2017-11-29 02:54:26 +03:00
2017-11-29 02:54:26 +03:00
2017-11-29 02:54:26 +03:00
2017-11-29 02:54:26 +03:00
2019-08-01 14:37:41 +03:00
2019-08-01 14:37:41 +03:00
2018-08-30 14:50:33 +03:00
2018-08-30 14:50:33 +03:00
2017-11-29 02:54:26 +03:00
2017-11-29 02:54:26 +03:00
2019-04-25 16:19:35 +03:00
2019-04-25 16:19:37 +03:00
2017-10-11 19:23:52 +03:00
2019-04-25 16:19:37 +03:00
2017-10-16 20:10:57 +03:00
2019-04-25 16:19:37 +03:00
2017-10-11 19:23:52 +03:00
2017-10-11 19:23:52 +03:00
2017-10-11 19:23:52 +03:00
2018-07-25 12:08:20 +03:00
2018-07-18 14:21:03 +03:00
2019-03-15 10:39:29 +03:00
2017-10-11 19:23:52 +03:00
2019-03-15 10:39:29 +03:00
2017-10-11 19:23:52 +03:00
2017-11-29 02:54:30 +03:00
2017-11-29 02:54:30 +03:00
2017-08-07 18:01:16 +03:00
2017-07-14 12:43:04 +03:00
2017-07-14 12:43:04 +03:00
2017-07-14 12:43:04 +03:00
2017-07-14 12:43:04 +03:00
2019-04-25 16:19:37 +03:00
2017-08-29 18:01:36 +03:00
2019-03-25 12:17:28 +03:00
2018-01-16 15:42:02 +01:00
2019-05-22 15:45:59 +03:00
2018-01-16 15:42:02 +01:00
2019-05-22 15:45:59 +03:00
2018-01-16 15:42:02 +01:00
2019-05-22 15:45:59 +03:00
2018-01-16 15:42:02 +01:00
2017-09-05 14:41:34 +03:00
2017-09-05 14:41:34 +03:00
2019-04-17 12:55:12 +03:00
2018-10-25 19:10:39 +03:00
2018-10-25 19:10:39 +03:00
2018-10-25 19:10:39 +03:00
2019-04-25 16:19:37 +03:00
2017-09-05 14:41:42 +03:00
2017-09-05 14:41:42 +03:00
2017-09-05 14:41:34 +03:00
2017-09-05 14:41:34 +03:00
2019-02-07 12:12:34 +03:00
2019-02-07 13:27:05 +03:00
2019-04-25 16:19:37 +03:00
2019-02-21 12:04:23 +03:00
2019-03-15 10:39:29 +03:00
2019-03-15 10:39:29 +03:00
2019-07-22 11:08:39 +03:00
2019-07-22 11:08:39 +03:00
2018-12-21 16:13:42 +03:00
2017-08-07 18:01:16 +03:00
2019-02-21 12:04:23 +03:00
2018-07-10 17:41:17 +03:00
2019-05-22 15:45:59 +03:00
2019-04-25 16:19:37 +03:00
2017-07-14 12:43:04 +03:00
2017-07-14 12:43:04 +03:00
2019-05-26 21:32:46 +03:00
2019-05-23 12:22:42 +03:00
2019-05-23 12:22:42 +03:00
2019-03-25 12:17:28 +03:00
2018-02-14 14:58:04 +03:00
2017-11-29 02:54:26 +03:00
2019-04-25 16:19:38 +03:00