1. A method for optimization of a dialog call-flow having a set of dialogs, implemented on a computing device, said method comprising: determining a grammar set in a given call-flow set of dialogs, each said grammar set having an associated resource requirement; determining a resource constraint of said device; and reorganizing said set of dialogs subject to said device resource constraint not being exceeded by a resultant resource requirement of merged dialogs.