| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2015-01-07 | py: Add option to cache map lookup results in bytecode. | Damien George | |
| This is a simple optimisation inspired by JITing technology: we cache in the bytecode (using 1 byte) the offset of the last successful lookup in a map. This allows us next time round to check in that location in the hash table (mp_map_t) for the desired entry, and if it's there use that entry straight away. Otherwise fallback to a normal map lookup. Works for LOAD_NAME, LOAD_GLOBAL, LOAD_ATTR and STORE_ATTR opcodes. On a few tests it gives >90% cache hit and greatly improves speed of code. Disabled by default. Enabled for unix and stmhal ports. | |||
| 2015-01-01 | py: Move to guarded includes, everywhere in py/ core. | Damien George | |
| Addresses issue #1022. | |||
| 2014-11-03 | py: Fix builtin callable so it checks user-defined instances correctly. | Damien George | |
| Addresses issue #953. | |||
| 2014-05-03 | Add license header to (almost) all files. | Damien George | |
| 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/. | |||
| 2014-05-02 | objtype: Rename mp_obj_class_t -> mp_obj_instance_t and move to local header. | Paul Sokolovsky | |
| TODO: Rename methods. | |||
