Miran
3de5296337
remove a condition that table size must be passed as power of 2 ( #14926 )
...
* remove a condition that table size must be passed as power of 2
* remove power-of-2 condition from sets and sharedtables
* remove power-of-2 condition from deques
* use 'correctSize' for both branches
* prettify changelog.md and fix typos
* add a changelog entry
* fix double-call of 'right-size'
* fix the same thing in sets.nim
* introduce a new internal proc `slotsNeeded`
Deprecate the public proc `rightSize`, which is not needed anymore.
Now it is an identity function, allowing the old code to work
correctly and without extra allocations.
2020-07-08 15:01:47 +02:00
..
2020-07-08 15:01:47 +02:00
2020-06-17 15:25:02 +02:00
2020-04-19 07:52:01 +02:00
2020-04-22 20:24:45 +02:00
2019-04-20 21:10:52 -05:00
2020-06-23 10:53:57 +02:00
2018-01-05 16:40:51 +02:00
2020-06-30 16:29:53 +02:00
2015-02-03 09:04:24 +01:00
2020-01-17 11:14:17 +01:00
2020-07-02 16:19:13 +02:00
2020-04-22 16:49:41 +02:00
2020-06-06 12:20:11 +02:00
2020-07-01 09:26:23 +02:00
2020-07-06 11:24:43 +02:00
2020-07-08 08:21:55 +02:00
2020-07-06 11:24:43 +02:00
2020-06-23 10:53:57 +02:00
2020-05-02 23:51:59 +02:00
2019-09-30 13:58:17 +02:00
2020-06-28 13:38:57 +02:00
2019-10-28 16:56:38 +01:00
2018-04-30 02:52:58 +02:00
2020-04-21 15:05:21 +02:00
2015-10-01 12:05:45 -07:00
2020-05-05 10:34:37 +02:00
2019-09-30 13:58:17 +02:00
2020-04-22 07:49:42 +02:00
2019-09-30 13:58:15 +02:00
2020-06-21 19:28:03 +02:00
2019-09-30 13:58:15 +02:00
2020-04-02 02:58:43 +02:00
2018-04-06 11:59:49 +02:00
2020-05-18 17:43:06 +01:00
2020-05-03 10:22:49 +02:00
2019-09-30 13:58:08 +02:00
2020-07-06 11:24:43 +02:00
2020-06-12 10:16:38 +02:00
2020-06-08 10:35:23 +02:00
2020-03-13 20:42:41 +01:00
2020-04-28 19:44:52 +02:00
2020-07-06 04:00:25 -04:00
2020-04-28 19:44:52 +02:00
2020-06-17 15:25:02 +02:00
2019-09-30 13:58:10 +02:00
2020-06-23 15:17:17 +02:00
2020-03-31 15:47:57 +02:00
2020-03-31 15:47:57 +02:00
2020-06-27 22:59:08 +01:00
2020-07-06 11:24:43 +02:00
2020-03-25 19:15:34 +01:00
2015-02-03 09:04:24 +01:00
2017-03-14 15:45:35 +01:00
2019-09-30 13:58:10 +02:00
2020-05-27 08:34:13 +02:00
2020-07-03 23:04:23 +02:00
2020-06-25 16:55:11 +02:00
2020-03-19 10:23:05 +01:00
2020-01-24 08:42:03 +00:00
2020-04-01 19:38:44 +02:00
2020-03-11 08:26:10 +01:00
2019-11-18 09:26:06 +01:00
2020-04-28 19:44:52 +02:00
2020-06-23 10:53:57 +02:00
2020-05-11 19:12:40 +02:00
2020-06-23 10:53:57 +02:00
2020-06-22 08:12:50 +02:00
2020-03-31 15:47:57 +02:00
2020-06-22 20:48:33 +02:00
2020-05-15 23:37:24 +02:00
2020-06-23 10:51:33 +02:00
2020-04-28 19:44:52 +02:00
2020-04-28 19:56:01 +02:00
2020-06-17 15:25:02 +02:00
2020-04-22 17:45:31 +02:00
2019-01-11 08:51:19 +01:00
2020-07-03 23:04:23 +02:00
2020-06-06 21:11:53 +02:00
2020-04-01 19:39:58 +02:00
2020-05-02 23:51:59 +02:00
2020-06-30 15:21:37 +02:00
2020-05-15 23:37:24 +02:00
2019-10-08 15:24:34 -04:00
2020-06-08 10:35:23 +02:00
2020-07-01 23:16:50 +02:00
2020-06-08 10:28:42 +02:00
2019-12-05 14:42:20 +01:00
2020-07-07 22:57:06 +02:00
2020-06-30 15:25:53 +02:00
2020-06-23 10:53:57 +02:00
2020-06-17 15:25:02 +02:00
2020-05-02 23:51:59 +02:00
2020-04-28 19:44:52 +02:00
2019-09-30 13:58:08 +02:00
2020-05-02 23:51:59 +02:00