• Thr 2019.12.26

    'your SD card is. And it's easier to read: Just pop in your computer, and read it!'

    Or, pick up a WiFi SD card and just link to it!!

    (I extract photo images from a digital camera this way - it is slick not having to remove and re-insert the card each time)


    'Compressed 36000 bytes to 2643'

    For clarification: this refers to code compression during the save() process, not data.

    as the next statement refers to data storage 'Which is saved to RAM if I'm correct' . . . which is of course a wrong interpretation


    'If I save the example code with save(); I get . . . . Which is saved to RAM if I'm correct?'

    I believe the understanding there (#1 post) is backwards.

    Ref the following:

    https://www.espruino.com/Reference#l__gl­obal_save
    https://www.espruino.com/Saving

    'When you upload code to Espruino normally, it is stored in Espruino's RAM'
    and
    'However it's easy to save your code to flash memory and make it permanent. Just type save()'



    Fully understanding how a JsVar fits in, can be daunting

    https://www.espruino.com/Internals

    a really, really rough rule of thumb would be to multiply the 'free' space by ten (actually 12 or 16 depending on many coding factors), our human mental model, for a really rough approximation of free RAM in bytes for data collection.

    https://www.espruino.com/Reference#l_pro­cess_memory

About

Avatar for Robin @Robin started