[ https://issues.apache.org/jira/browse/ARROW-11347?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17270257#comment-17270257 ]
Brian Hulette commented on ARROW-11347: --------------------------------------- Can you clarify where is it that we use Maps that you think should change? Is it when accessing an element of a Map-typed array? I'd be open to changing it but we'd need to consider that this would be a breaking API change. I suppose this is technically OK since all releases are major but it may be inconvenient for users. > [JavaScript] Consider Objects instead of Maps > --------------------------------------------- > > Key: ARROW-11347 > URL: https://issues.apache.org/jira/browse/ARROW-11347 > Project: Apache Arrow > Issue Type: Improvement > Components: JavaScript > Reporter: Dominik Moritz > Priority: Major > Labels: performance > Original Estimate: 24h > Remaining Estimate: 24h > > A quick experiment > (https://observablehq.com/@domoritz/performance-of-maps-vs-objects) seems to > show that object accesses are a lot faster than map accesses. Would it make > sense to switch to objects in the row API to improve performance? -- This message was sent by Atlassian Jira (v8.3.4#803005)