Paul Sokolovsky
5fedd0c3b7
py: Fix dict.copy() and low-level map/set allocation.
...
Two things: 1) set flags in copy properly; make mp_map_init() not be too
smart and do something with requested alloc size. Policy of using prime
numbers for alloc size is high-level policy which should be applied at
corresponding high levels. Low-level functions should just do what they're
asked to, because they don't have enough context to be smarter than that.
For example, munging with alloc size of course breaks dict copying (as
changing sizes requires rehashing).
2014-04-06 21:31:42 +03:00
..
2014-03-31 11:59:23 +01:00
2014-04-06 02:15:23 +03:00
2014-04-06 01:01:36 +03:00
2014-04-06 11:48:15 +01:00
2014-04-06 11:48:15 +01:00
2014-04-06 01:01:36 +03:00
2014-04-05 22:36:42 +01:00
2014-04-06 12:58:40 +01:00
2014-04-06 11:48:15 +01:00
2014-04-02 15:56:31 +01:00
2014-04-02 15:56:31 +01:00
2014-04-02 15:56:31 +01:00
2014-04-06 12:58:40 +01:00
2014-04-06 12:58:40 +01:00
2014-04-02 15:56:31 +01:00
2014-04-01 01:17:33 -07:00
2014-04-05 20:35:48 +01:00
2014-04-05 20:35:48 +01:00
2014-04-05 20:35:48 +01:00
2014-04-06 21:31:42 +03:00
2014-04-05 20:35:48 +01:00
2014-04-05 21:53:54 +01:00
2014-04-05 21:53:54 +01:00
2014-04-05 21:53:54 +01:00
2014-04-05 21:53:54 +01:00
2014-04-05 21:53:54 +01:00
2014-04-05 20:35:48 +01:00
2014-04-04 00:16:32 +01:00
2014-04-03 11:00:54 +00:00
2014-04-05 18:32:08 +01:00
2014-04-03 23:51:16 +01:00
2014-04-05 18:32:08 +01:00
2014-04-05 23:02:23 +01:00
2014-04-05 18:32:08 +01:00
2014-04-05 18:32:08 +01:00
2014-04-05 21:53:54 +01:00
2014-04-05 18:32:08 +01:00
2014-04-06 21:31:42 +03:00
2014-04-05 18:32:08 +01:00
2014-04-05 18:32:08 +01:00
2014-04-05 20:51:29 +01:00
2014-04-05 22:36:42 +01:00
2014-04-05 18:32:08 +01:00
2014-04-05 18:32:08 +01:00
2014-04-05 18:32:08 +01:00
2014-04-05 18:32:08 +01:00
2014-04-05 18:32:08 +01:00
2014-04-04 15:08:23 +01:00
2014-04-05 18:32:08 +01:00
2014-04-05 18:32:08 +01:00
2014-04-05 22:36:42 +01:00
2014-04-05 18:32:08 +01:00
2014-04-05 22:45:23 +01:00
2014-04-05 21:53:54 +01:00
2014-04-06 11:11:15 +01:00
2014-04-05 18:32:08 +01:00
2014-04-05 22:45:23 +01:00
2014-04-05 18:32:08 +01:00
2014-04-05 09:42:20 -07:00
2014-04-05 09:42:20 -07:00
2014-04-03 16:55:15 -07:00
2014-04-04 16:09:29 +01:00
2014-04-05 23:04:22 +01:00
2014-04-06 12:58:40 +01:00
2014-04-06 12:58:40 +01:00
2014-04-06 12:58:40 +01:00
2014-04-05 18:32:08 +01:00
2014-03-31 11:59:23 +01:00
2014-04-04 11:13:51 +00:00
2014-04-04 11:13:51 +00:00
2014-04-05 23:02:23 +01:00
2014-04-06 12:58:40 +01:00
2014-03-31 17:10:59 +01:00