MongoRepository isn't very fast.
These two methods consume significant CPU time:
MongoRepository.readFromDBObject()
MongoRepository.writeToDBObject()
They convert Documents to CdoSnapshots, but via intermediate JSON String.
Direct conversion (from Documents to JsonElements) should be implemented.
MongoRepository isn't very fast.
These two methods consume significant CPU time:
MongoRepository.readFromDBObject()MongoRepository.writeToDBObject()They convert Documents to CdoSnapshots, but via intermediate JSON String.
Direct conversion (from Documents to JsonElements) should be implemented.