[
https://hibernate.onjira.com/browse/OGM-167?page=com.atlassian.jira.plugi...
]
Hardy Ferentschik updated OGM-167:
----------------------------------
Summary: Consider reading/writing directly from BSON stream to Tuple to limit
unnecessary object creation (like HashMap) by the MongoDB driver (was: Consider
reading/writing directly from BSON straem to Tuple to limit unnecessary object creation
(like HashMap) by the MongoDB driver)
Consider reading/writing directly from BSON stream to Tuple to limit
unnecessary object creation (like HashMap) by the MongoDB driver
-------------------------------------------------------------------------------------------------------------------------------------
Key: OGM-167
URL:
https://hibernate.onjira.com/browse/OGM-167
Project: Hibernate OGM
Issue Type: New Feature
Components: datastore
Reporter: Emmanuel Bernard
Priority: Minor
GC can slow down reads esp for collections. Many HashMap are created and we suspec the
MongoDB driver for Java is the creator (DBObject is a subclass of LinkedHashMap).
We could imagine not create these BObject but directly talk to the BSON stream. That
would of course be a lot of work to do that right and the MongoDB driver needs to expose
BSON without parsing it first.
It more a prospective idea.
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira