sirit/src
Lioncash f6f5913b5f op: Use std::vector's insert member function within vector variant of Add()
While looping here does work fine, it's mildly inefficient, particularly
if the number of members being added is large, because it can result in
multiple allocations over the period of the insertion, depending on how
much extra memory push_back may allocate for successive elements.

Instead, we can just tell the std::vector that we want to slap the whole
contained sequence at the back of it with insert, which lets it allocate
the whole memory block in one attempt.
2019-03-14 04:31:14 -03:00
..
instructions Pass std::string by value where applicable. 2019-03-14 04:30:39 -03:00
.gitignore Ignore sirit.h symlink 2018-10-23 04:51:34 -03:00
CMakeLists.txt Rename "insts" directory to "instructions" 2018-11-16 04:15:48 -03:00
common_types.h Upgrade from LGPLv2.1 to LGPLv3 2018-11-16 04:10:10 -03:00
literal_number.cpp Change clang-format settings 2019-03-11 03:26:21 -03:00
literal_number.h src: Amend missing override specifiers 2019-03-14 02:25:57 -04:00
literal_string.cpp Pass std::string by value where applicable. 2019-03-14 04:30:39 -03:00
literal_string.h Pass std::string by value where applicable. 2019-03-14 04:30:39 -03:00
op.cpp op: Use std::vector's insert member function within vector variant of Add() 2019-03-14 04:31:14 -03:00
op.h Pass std::string by value where applicable. 2019-03-14 04:30:39 -03:00
operand.cpp operand: Append default to the default constructor 2019-03-14 02:50:07 -04:00
operand.h Change clang-format settings 2019-03-11 03:26:21 -03:00
sirit.cpp Pass std::string by value where applicable. 2019-03-14 04:30:39 -03:00
stream.cpp Change clang-format settings 2019-03-11 03:26:21 -03:00
stream.h Change clang-format settings 2019-03-11 03:26:21 -03:00