<feed xmlns='http://www.w3.org/2005/Atom'>
<title>suspect-devices/circuitpython/py/map.c, branch v1.3.5</title>
<subtitle>CircuitPython - a Python implementation for teaching coding with microcontrollers</subtitle>
<id>https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=v1.3.5</id>
<link rel='self' href='https://git.suspectdevices.com/suspect-devices/circuitpython/atom?h=v1.3.5'/>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/'/>
<updated>2014-08-30T12:23:35+00:00</updated>
<entry>
<title>py: Make map, dict, set use mp_int_t/mp_uint_t exclusively.</title>
<updated>2014-08-30T12:23:35+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2014-08-30T12:23:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=93965e726fb307739c31b0fc61d972391ffba677'/>
<id>urn:sha1:93965e726fb307739c31b0fc61d972391ffba677</id>
<content type='text'>
Part of code cleanup, towards resolving issue #50.
</content>
</entry>
<entry>
<title>Rename machine_(u)int_t to mp_(u)int_t.</title>
<updated>2014-07-03T12:25:24+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2014-07-03T12:25:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=40f3c026823f8951a2fa04e9c7fc93c75bc27bec'/>
<id>urn:sha1:40f3c026823f8951a2fa04e9c7fc93c75bc27bec</id>
<content type='text'>
See discussion in issue #50.
</content>
</entry>
<entry>
<title>py: Include mpconfig.h before all other includes.</title>
<updated>2014-06-21T19:43:22+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2014-06-21T19:43:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=59c675a64c1d9757d50ad4627da67a6f996a99fb'/>
<id>urn:sha1:59c675a64c1d9757d50ad4627da67a6f996a99fb</id>
<content type='text'>
It defines types used by all other headers.

Fixes #691.
</content>
</entry>
<entry>
<title>Add license header to (almost) all files.</title>
<updated>2014-05-03T22:27:38+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2014-05-03T22:27:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=04b9147e150d2d6fa3750f312fe328b6a71c1b28'/>
<id>urn:sha1:04b9147e150d2d6fa3750f312fe328b6a71c1b28</id>
<content type='text'>
Blanket wide to all .c and .h files.  Some files originating from ST are
difficult to deal with (license wise) so it was left out of those.

Also merged modpyb.h, modos.h, modstm.h and modtime.h in stmhal/.
</content>
</entry>
<entry>
<title>py: Fix bug in map lookup of interned string vs non-interned.</title>
<updated>2014-04-28T11:11:57+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2014-04-28T11:11:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=186e463a9ea5f1f1cabd928ba363fb3f0c0de4dc'/>
<id>urn:sha1:186e463a9ea5f1f1cabd928ba363fb3f0c0de4dc</id>
<content type='text'>
Had choice of either interning or forcing full equality comparison, and
chose latter.  See comments in mp_map_lookup.

Addresses issue #523.
</content>
</entry>
<entry>
<title>py: Revert revert for allocation policy of set hash table.</title>
<updated>2014-04-07T00:16:17+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2014-04-07T00:16:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=2bfd2dc77091bee94723c36216dee652bcc8a054'/>
<id>urn:sha1:2bfd2dc77091bee94723c36216dee652bcc8a054</id>
<content type='text'>
</content>
</entry>
<entry>
<title>py: Revert change to allocation policy for mp_set_t.</title>
<updated>2014-04-06T23:54:04+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2014-04-06T23:54:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=c75427baaa9f455497c46f754d6f4e8c594fb897'/>
<id>urn:sha1:c75427baaa9f455497c46f754d6f4e8c594fb897</id>
<content type='text'>
Seems that this fixes all set tests.
</content>
</entry>
<entry>
<title>py: Fix dict.copy() and low-level map/set allocation.</title>
<updated>2014-04-06T18:31:42+00:00</updated>
<author>
<name>Paul Sokolovsky</name>
<email>pfalcon@users.sourceforge.net</email>
</author>
<published>2014-04-06T18:00:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=5fedd0c3b708d2874f93897ff5de2d533079c1fc'/>
<id>urn:sha1:5fedd0c3b708d2874f93897ff5de2d533079c1fc</id>
<content type='text'>
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).
</content>
</entry>
<entry>
<title>py: Make mp_map_lookup not allocate memory on removal.</title>
<updated>2014-04-05T22:33:12+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2014-04-05T22:33:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=d0e824387e9bb50b03544969bccced4adf2ac7df'/>
<id>urn:sha1:d0e824387e9bb50b03544969bccced4adf2ac7df</id>
<content type='text'>
</content>
</entry>
<entry>
<title>py: Change module globals from mp_map_t* to mp_obj_dict_t*.</title>
<updated>2014-04-05T20:53:54+00:00</updated>
<author>
<name>Damien George</name>
<email>damien.p.george@gmail.com</email>
</author>
<published>2014-04-05T20:53:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.suspectdevices.com/suspect-devices/circuitpython/commit/?id=8b0535e23fb1c646103a060a4ae17e9ee6d5e887'/>
<id>urn:sha1:8b0535e23fb1c646103a060a4ae17e9ee6d5e887</id>
<content type='text'>
Towards addressing issue #424.

Had a small increase to ROM usage (order 60 bytes).
</content>
</entry>
</feed>
