I've just read that there is a way to merge dictionaries, to accumulate
values across the variable hierarchy, but it is supposed to be a very
bad idea. Would it be difficult to allow this merge feature on just a
select number of variables? Or is there a better way to deal with a
large inventory (3-4 digit numbers of items), which is unwieldy to begin
with?
I've just read that there is a way to merge dictionaries, to accumulate
values across the variable hierarchy, but it is supposed to be a very
bad idea. Would it be difficult to allow this merge feature on just a
select number of variables? Or is there a better way to deal with a
large inventory (3-4 digit numbers of items), which is unwieldy to begin
with?
Where does that inventory come from? Maybe you could use a dynamic inventory?
Where does that inventory come from? Maybe you could use a dynamic inventory?
so far, it's a static inventory. It will be a dynamic inventory once
this stuff is a bit more fleshed out - but the "cost" to have a dynamic
inventory, is significant: The relevant database servers are far away,
"messy", and quite slow. Therefore, I wanted to start with a static
inventory.