reduced maximum elements to 1024

c3
Alessandro Mauri 2 days ago
parent fa3362cc66
commit 04dff26067
  1. 2
      src/ugui_data.c3

@ -93,7 +93,7 @@ struct Elem {
def IdTree = vtree::VTree(<Id>) @private; def IdTree = vtree::VTree(<Id>) @private;
// elements themselves are kept in a cache // elements themselves are kept in a cache
const uint MAX_ELEMENTS = 2048; const uint MAX_ELEMENTS = 1024;
def ElemCache = cache::Cache(<Id, Elem, MAX_ELEMENTS>) @private; def ElemCache = cache::Cache(<Id, Elem, MAX_ELEMENTS>) @private;
def CmdQueue = fifo::Fifo(<Cmd>); def CmdQueue = fifo::Fifo(<Cmd>);

Loading…
Cancel
Save