Hi there,
i'm mainly a Java guy and not really well versed in the behind-the-scenes workings of GWT/SmartGWT. So, i have a question
When looking at optimizing / performance, is there anything at all to gain by for example declaring a DataSource object in a central place and then passing that single pointer object around via method call and class constructor parameters , versus just calling DataSource.get("X) in every place that you need to get hold of a DataSource object of a certain type?
My guess is not, and that it wont even make any difference after the compiler has done its job? Would be great to hear from experts.
i'm mainly a Java guy and not really well versed in the behind-the-scenes workings of GWT/SmartGWT. So, i have a question
When looking at optimizing / performance, is there anything at all to gain by for example declaring a DataSource object in a central place and then passing that single pointer object around via method call and class constructor parameters , versus just calling DataSource.get("X) in every place that you need to get hold of a DataSource object of a certain type?
My guess is not, and that it wont even make any difference after the compiler has done its job? Would be great to hear from experts.
Comment