mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-18 16:27:34 +01:00
[storage][apps/code] Change sizes (#28)
This commit is contained in:
committed by
GitHub
parent
f5f11c6478
commit
0b54bf13f4
@@ -75,7 +75,7 @@ public:
|
||||
|
||||
VariableBoxController * variableBoxController() { return &m_variableBoxController; }
|
||||
|
||||
static constexpr int k_pythonHeapSize = 100000;
|
||||
static constexpr int k_pythonHeapSize = 67000;
|
||||
|
||||
private:
|
||||
/* Python delegate:
|
||||
|
||||
@@ -43,7 +43,7 @@ public:
|
||||
|
||||
private:
|
||||
constexpr static size_t k_maxNumberOfDisplayedItems = (Ion::Display::Height - Metric::TitleBarHeight - Metric::PopUpTopMargin) / ScriptNodeCell::k_simpleItemHeight + 2; // +2 if the cells are cropped on top and at the bottom
|
||||
constexpr static size_t k_maxScriptNodesCount = 128; // Chosen without particular reasons (Number of functions in the variables box)
|
||||
constexpr static size_t k_maxScriptNodesCount = 64; // Chosen without particular reasons (Number of functions in the variables box)
|
||||
constexpr static int k_totalBuiltinNodesCount = 107;
|
||||
constexpr static uint8_t k_scriptOriginsCount = 8; // Number of scripts loaded in the variable box
|
||||
constexpr static uint8_t k_subtitleCellType = NodeCellType; // We don't care as it is not selectable
|
||||
|
||||
@@ -17,7 +17,7 @@ class Storage {
|
||||
public:
|
||||
typedef uint16_t record_size_t;
|
||||
|
||||
constexpr static size_t k_storageSize = 32768;
|
||||
constexpr static size_t k_storageSize = 64000;
|
||||
static_assert(UINT16_MAX >= k_storageSize, "record_size_t not big enough");
|
||||
|
||||
static Storage * sharedStorage();
|
||||
|
||||
Reference in New Issue
Block a user