You are reading a single comment by @Gordon and its replies. Click here to read the full conversation.
  • It depends on whether you're using the Web IDE to load modules, or have them on an SD card.

    • If it's an SD card then require("Testing") will load everything into memory.
    • If it's the Web IDE, the module will be loaded up even before your program code is. require("Testing") itself will do nothing.

    In both cases, the .connect() won't load anything extra (unless something in that function allocates a bunch of stuff).

About

Avatar for Gordon @Gordon started