问题
I notice in the Polymer Dart issue #569, that the use of maps is discouraged, because they're inefficient. What is (will be) the alternative? I use maps a lot.
回答1:
The original reasoning for the comment about inefficiency no longer applies. Previously the whole map had to be copied to a new JsObject each time it was passed to JS, but that is no longer the case.
来源:https://stackoverflow.com/questions/32791689/what-is-the-alternative-to-maps-in-polymer-dart-1-0