Commit Graph

12 Commits

Author SHA1 Message Date
Eliot Horowitz 142a86b237 net cleaning: move message.* to net/
net cleaning: move http tools to net/
2011-06-26 17:13:54 -04:00
Mathias Stearn 244b162111 Use intrusive_ptr rather than shared_ptr for BSONObj
Advantages:
* Owned BSONObj now uses 1 heap allocation rather than 3
* sizeof(BSONObj) is now 16 rather than 24 (on 64 bit)
* perftest bson shows it to be much faster

Change in BSONObj constructor API for owned case to make sure old code gets
updated to allocate room for the ref count. Anyone using BSONObjBuilder doesn't
need to worry about this change.
2011-04-03 20:50:45 -04:00
Eliot Horowitz b828d21630 ran astyle SERVER-2304 2011-01-04 00:40:41 -05:00
Eliot Horowitz 0a7fd9cc2b stdafx.h -> pch.h part 2 2010-04-27 15:33:27 -04:00
Mathias Stearn d27c8505ea all client files now marked as Apache 2.0. SERVER-329. 2009-10-27 15:59:37 -04:00
Eliot Horowitz e48db1f60a replace cerr with cout for all server files 2009-10-16 11:39:59 -04:00
Eliot Horowitz 79be4b64a3 clean up dbexit with an ExitCode enum SERVER-183 2009-08-05 16:00:27 -04:00
Eliot Horowitz 4fcbdf301e more spider monkey work and testing 2009-04-24 16:41:40 -04:00
Eliot Horowitz 4c1b9f511a Merge branch 'master' of git@github.com:mongodb/mongo 2009-04-23 16:39:55 -04:00
Eliot Horowitz c434bed746 Scripting: make args a paramter to invoke() rather than magic 2009-04-23 16:39:41 -04:00
Dwight ed0065fff2 visual studio happy 2009-04-23 14:31:40 -04:00
Eliot Horowitz 1f696e2143 abstracted out ScriptEngine to allow for playing with other javascript engines 2009-04-23 14:28:22 -04:00