[ https://issues.apache.org/jira/browse/MAHOUT-65?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12720671#action_12720671 ]
Grant Ingersoll commented on MAHOUT-65: --------------------------------------- So, with Sean's patch to MAHOUT-121, it seems the bottleneck is now in deserialization. In looking at it, it seems like there is a whole lot of String stuff going on. In particular, line 61: {code} String vector = obj.get(VECTOR).getAsString(); {code} seems a bit worrisome. I haven't looked into GSON yet, but is there any advice on making it faster? > Add Element Labels to Vectors and Matrices > ------------------------------------------ > > Key: MAHOUT-65 > URL: https://issues.apache.org/jira/browse/MAHOUT-65 > Project: Mahout > Issue Type: New Feature > Components: Matrix > Affects Versions: 0.1 > Reporter: Jeff Eastman > Assignee: Jeff Eastman > Attachments: MAHOUT-65-name.patch, MAHOUT-65-name.patch, > MAHOUT-65-name.patch, MAHOUT-65.patch, MAHOUT-65b.patch, MAHOUT-65c.patch, > MAHOUT-65d.patch > > > Many applications can benefit by accessing elements in vectors and matrices > using String labels in addition to numeric indices. Investigate adding such a > capability. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.