1. Mark Shannon
  2. hotpy_2
  3. Issues
Issue #2 new

Add guards to module dicts

Mark Shannon
repo owner created an issue

Add guards to some dicts, particularly module dicts (i.e. globals()) so that the specialiser can convert LOAD_GLOBAL into LOAD_CONST. Requirements: 1. No change to size of other (unguarded) dicts. 2. No slow down for reads to any dict. 3. Neglible slow down for writes/deletes to other (unguarded) dicts. 4. Small slow down for writes to guarded dicts (if no guards are triggered).

Comments (0)

  1. Log in to comment