Skip to content
Snippets Groups Projects
Select Git revision
  • 4852e09c7914a4d4f2938dddbe155a2075bb2eb3
  • wip-bootstrap default
  • dualcore
  • ch3/leds
  • ch3/time
  • master
6 results

objint.c

Blame
  • user avatar
    Damien George authored
    Previous to this patch, a big-int, float or imag constant was interned
    (made into a qstr) and then parsed at runtime to create an object each
    time it was needed.  This is wasteful in RAM and not efficient.  Now,
    these constants are parsed straight away in the parser and turned into
    objects.  This allows constants with large numbers of digits (so
    addresses issue #1103) and takes us a step closer to #722.
    7d414a1b
    History
    objint.c 14.40 KiB