From 50a8963ba281d352a25cbb72827729092b195338 Mon Sep 17 00:00:00 2001 From: Juho Teperi Date: Fri, 9 Oct 2015 12:55:22 +0300 Subject: [PATCH] Add changelog entry for from-db-object perf improvement --- ChangeLog.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/ChangeLog.md b/ChangeLog.md index 5bd466d..9cb6b4d 100644 --- a/ChangeLog.md +++ b/ChangeLog.md @@ -1,5 +1,14 @@ ## Changes between 3.0.0 and 3.1.0 +### Improved DBObject to Clojure Map conversion performance + +New `from-db-object` implementation for `DBObject` avoids creation of an unnecessary +sequence and instead directly accesses `DBObject` instance in reduce. This should +offer performance improvement of about 20%. A performance test can be found +at [monger.test.stress-test](https://github.com/michaelklishin/monger/blob/master/test/monger/test/stress_test.clj). + +Contributed by Juho Teperi. + ### Authencation Function No Longer Ignores Credentials In some cases Monger ignored provided credentials.