Commit Graph

12 Commits

Author SHA1 Message Date
JoelKatz
606dff758c Support compiling with C++11 rules. Compile C++11 by default.
This gives us some significant performance boosts when containers and binds.
2013-03-16 02:38:05 -07:00
JoelKatz
be932de252 The release invalidates the iterator. 2013-03-14 13:37:16 -07:00
JoelKatz
402f296c36 A more sensible implementaiton SOTemplate::getIndex. 2013-03-02 22:16:52 -08:00
JoelKatz
7a9037d1ca Large speed up of getField* functions on non-free objects such as transactions and ledger nodes. 2013-02-28 23:52:53 -08:00
JoelKatz
e3b4571831 Cleanup of STObject::setType. Avoid some excess allocations. 2013-02-21 10:29:06 -08:00
JoelKatz
271bf901ec Support for compiling on 32-bit platforms. The main issue was BN_ULONG size and not using 'long' where
'long long' or 'uint64' should be used.
2013-01-15 23:47:42 -08:00
JoelKatz
8a1033caad Second round of removing extraneous copy constructor and destructor calls. 2012-12-17 20:31:26 -08:00
JoelKatz
2a06686b7c Round one of fixes to avoid ridiculous numbers of spurious copy constructor and destructor calls.
Most of these fixes involve calls to BOOST_FOREACH to iterate over a map or unordered_map where the
iterator type didn't perfectly match the internal type, so a reference into the map couldn't be created
and a new value/content pair had to be created for each iteration.
2012-12-17 20:20:24 -08:00
JoelKatz
bdfa1d03f8 Fix a metadata corrupting bug. You can't use std::sort on a boost ptr_vector. 2012-12-08 11:15:37 -08:00
JoelKatz
6013d994e2 STArray cannot use a vector of STObject's because bad things happen when you delete them. 2012-11-26 11:20:12 -08:00
JoelKatz
8bd212e6bc Sanely handle optional fields set to their default values.
Specify when this is allowed and when it's prohibited.
2012-11-16 15:11:16 -08:00
Stefan Thomas
fa3fab5816 Moved cpp code to src/cpp and js code to src/js. 2012-11-07 12:49:50 -08:00