「view this page in B3 βῆτα server」

Revisions №58417

branch: master 「№58417」
Commited by: Vikram K. Mulligan
GitHub commit link: 「1bc07d3c4ba878a8」 「№1050」
Difference from previous tested commit:  code diff
Commit date: 2016-01-24 23:14:26

Merge pull request #1050 from RosettaCommons/vmullig/basename Add storage and retrieval of base ResidueType name to ResidueType class Having to fiddle with strings all of the time to get the base ResidueType name is inefficient. This pull request introduces a cost of a little bit of memory to save some clock cycles. You can now set/get the base name for a ResidueType using ResidueType::base_name(). This pull request also moves all ResidueProperties access into Residue.cc from Residue.hh to speed recompilation when ResidueProperties are added (we now only include ResidueProperties.fwd.hh from Residue.hh). I also noticed that the name1_ private member variable (a char) was not initialized, so I added an initializer. The carbohydrates integration test shows cosmetic changes because it now reports the base name in addition to the patched name (expected changes). Very slightly more memory is allocated for the ResidueTypes in the ResidueTypeSet, now, as well, since they store an additional string, but this is very tiny compared to Rosetta's overall memory footprint.

...