-
Notifications
You must be signed in to change notification settings - Fork 146
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Major design change in C++ abstraction layer:
- Moved from a design based on abstract base classes to a policy-based design - Advantages: + Remove as much overhead as possible + Simpler design (though possibly syntactically a bit harder) + Less code to maintain + Much more straihtforward control flow + No unnecessary object creation. Completely got rid of using shared_ptr - Disadvantates: + The dbconnector part is now also header-only and it needs to include the postgres headers. Hence, there is the potential of name clashes (though it is possible to circumvent these problems). + Slightly higher memory usage because of template code. Probably irrelevant in practice though.
- Loading branch information
Florian Schoppmann
authored and
Florian Schoppmann
committed
Dec 21, 2011
1 parent
110b47f
commit 91f8f67
Showing
39 changed files
with
1,475 additions
and
1,983 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.