Ryan Liptak cf8dde2d68 std.HashMap: cleanup ensureCapacity + add test
- Cleaned up some comments
- Removed the "is power of two" check from optimizedCapacity since the * 5 / 3 is unlikely to end up with a power of two, so it's a wasted check the majority of the time
- Made ensureCapacity/ensureCapacityExact increment the modification count if they resize the hash map so that we can catch resizes while iterating, which would likely break the iterator state
2019-05-03 21:15:00 -07:00
..
2019-03-02 16:46:04 -05:00
2019-03-31 16:47:34 -05:00
2019-04-11 19:36:35 +12:00
2019-04-30 23:53:17 -04:00
2019-04-29 18:55:20 -04:00
2019-03-02 16:46:04 -05:00
2018-09-30 17:28:35 -04:00
2019-04-29 14:02:19 -04:00
2018-11-13 05:08:37 -08:00
2019-03-29 12:17:48 -04:00
2019-03-02 16:46:04 -05:00
2019-04-30 20:50:41 -04:00
2019-03-02 16:46:04 -05:00
2019-03-02 16:46:04 -05:00
2019-03-29 12:18:42 -04:00
2019-03-24 00:44:18 -04:00
2019-03-02 16:46:04 -05:00