Commit Graph

13 Commits

Author SHA1 Message Date
Kyle Banker 3187761670 RUBY-258 Bytebuffer#unpack takes arbitrary format string 2011-04-01 13:36:28 -04:00
Hongli Lai (Phusion) 6b4ca2461f Implement BSON::ByteBuffer#== 2011-03-28 11:16:54 -04:00
Wojciech Piekutowski e6b6074910 Remove unneeded variable 2011-02-20 15:34:11 +01:00
Kyle Banker 0d91faf6b1 RUBY-226 minor: license update 2011-01-17 12:26:32 -05:00
Kyle Banker f1ddd871f2 major: typo 2010-10-13 18:38:15 -04:00
Kyle Banker cd03fafb27 RUBY-187 ByteBuffer should take another ByteBuffer as initial data 2010-10-13 17:08:45 -04:00
Hongli Lai (Phusion) 264bddbeee Fix reference to NULL_BYTE. 2010-09-13 10:51:44 -04:00
Hongli Lai (Phusion) c8726ca150 Optimize MongoDB::Cursor#construct_query_message. 2010-09-13 10:51:15 -04:00
Hongli Lai (Phusion) bde53f1e20 Optimize ByteBuffer: use binary string as underlying storage instead of array. 2010-09-13 10:51:02 -04:00
Hongli Lai (Phusion) 1c25541492 Optimize ByteBuffer#get_int. 2010-09-13 10:50:04 -04:00
Hongli Lai (Phusion) b9de2eaa5c When possible, have BSON::ByteBuffer store the underlying binary data as a binary String instead of an array.
This dramatically improves the performance of BSON::ByteBuffer.new(a_string).
On Ruby 1.9.2 it is about 130 times faster.
2010-09-09 15:59:17 -04:00
Kyle Banker 97ee66be02 minor: source file encoding with magic comment 2010-05-07 15:33:27 -04:00
Kyle Banker 8426a06244 minor: some minor details 2010-04-05 14:09:06 -04:00