[ https://issues.apache.org/jira/browse/SOLR-17635?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17924568#comment-17924568 ]
Renato Haeberli commented on SOLR-17635: ---------------------------------------- Ah right, my mind was still with the other ticket, where we want to move from NamedList.asShallowMap to a SimpleOrderedMap. But the questions remain, should the deserialization into a SimpleOrderedMap be the new default behavior, or should the default behavior be as it is currently with LinkedHashMap? > javabin should deserialize maps as SimpleOrderedMap > --------------------------------------------------- > > Key: SOLR-17635 > URL: https://issues.apache.org/jira/browse/SOLR-17635 > Project: Solr > Issue Type: Improvement > Reporter: David Smiley > Priority: Major > > Once SimpleOrderedMap actually implements Map (SOLR-17623), Solr's "javabin" > format should deserialize all maps as a SimpleOrderedMap. This will make it > easier to transition away from NamedList/SimpleOrderedMap in responses (such > as to a Map or MapWriter) without worry of impacting javabin clients that > still expect a NamedList. > It may also increase deserialization performance & lower memory at the > expense of any former Maps (thus were deserialized as LinkedHashMap, O(1) > lookup) becoming O(N) lookup. -- This message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org For additional commands, e-mail: issues-h...@solr.apache.org