#pragma once

// ========================================================== //
//            SPIDER DEFAULT SETTINGS, PER DISTRO             //
// ========================================================== //


// ================== MEMORY FOOTPRINT ================== //

/**
 * Use a normal amount of memory, assuming there
 * is like 100KB free of it.
 */
#define SPIDER_MEMFOOTPRINT_NORMAL  0
/**
 * Attempt to reduce the memory footprint
 * where possible, but without doing
 * extreme adaptations.
 */
#define SPIDER_MEMFOOTPRINT_REDUCED 1
/**
 * Will deliverately convert things from memory
 * to functions in order to free as much memory
 * as possible, even if it slows things down.
 */
#define SPIDER_MEMFOOTPRINT_MINIMAL 2

#ifndef SPIDER_MEMFOOTPRINT
    #if defined(SPIDER_DISTRO_MOBILE) || defined(SPIDER_DISTRO_BROWSER)
        #define SPIDER_MEMFOOTPRINT SPIDER_MEMFOOTPRINT_REDUCED
    #elif defined(SPIDER_DISTRO_MICRO)
        #define SPIDER_MEMFOOTPRINT SPIDER_MEMFOOTPRINT_MINIMAL
    #else
        #define SPIDER_MEMFOOTPRINT SPIDER_MEMFOOTPRINT_NORMAL
    #endif
#endif

// ================== MISC ================== //


