{"action":"opened","issue":{"url":"https://api.github.com/repos/CBICA/CaPTk/issues/118","repository_url":"https://api.github.com/repos/CBICA/CaPTk","labels_url":"https://api.github.com/repos/CBICA/CaPTk/issues/118/labels{/name}","comments_url":"https://api.github.com/repos/CBICA/CaPTk/issues/118/comments","events_url":"https://api.github.com/repos/CBICA/CaPTk/issues/118/events","html_url":"https://github.com/CBICA/CaPTk/issues/118","id":371948398,"node_id":"MDU6SXNzdWUzNzE5NDgzOTg=","number":118,"title":"Add template instantiations in the code to reduce compile time","user":{"login":"sarthakpati","id":11719673,"node_id":"MDQ6VXNlcjExNzE5Njcz","avatar_url":"https://avatars0.githubusercontent.com/u/11719673?v=4","gravatar_id":"","url":"https://api.github.com/users/sarthakpati","html_url":"https://github.com/sarthakpati","followers_url":"https://api.github.com/users/sarthakpati/followers","following_url":"https://api.github.com/users/sarthakpati/following{/other_user}","gists_url":"https://api.github.com/users/sarthakpati/gists{/gist_id}","starred_url":"https://api.github.com/users/sarthakpati/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sarthakpati/subscriptions","organizations_url":"https://api.github.com/users/sarthakpati/orgs","repos_url":"https://api.github.com/users/sarthakpati/repos","events_url":"https://api.github.com/users/sarthakpati/events{/privacy}","received_events_url":"https://api.github.com/users/sarthakpati/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-10-19T13:03:14Z","updated_at":"2018-10-19T13:03:14Z","closed_at":null,"author_association":"MEMBER","body":"This is related to issue #117, essence trying to reduce the compile time of CaPTk.\r\n\r\nReferences:\r\n- https://msdn.microsoft.com/en-us/library/by56e477.aspx\r\n- https://msdn.microsoft.com/en-us/library/7y5ca42y.aspx?f=255&MSPPError=-2147217396\r\n- https://gcc.gnu.org/onlinedocs/gcc/Template-Instantiation.html\r\n- Nice SO Q&A on this: https://stackoverflow.com/questions/2351148/explicit-instantiation-when-is-it-used\r\n\r\nThe idea is that in combination with precompiling the headers (see #117), we should be doing explicit declarations of the following things to reduce compile time:\r\n\r\n1. `itk::Image<>` types being used in CaPTk, which are defined in **CAPTk.h** under the `using` keyword. \r\n2. In addition, doing explicit declarations for the FeatureExtraction class will also help.\r\n3. `VariableLengthVector` and `VariableLengthMatrix` types\r\n4. `std::vector` types\r\n"}}
{"actor":{"display_login":"sarthakpati"}}