Skip to content

library fixes: move functions out of headers or make them inline#27

Merged
lemire merged 1 commit intofast-pack:masterfrom
yonik:library_fixes
Dec 10, 2020
Merged

library fixes: move functions out of headers or make them inline#27
lemire merged 1 commit intofast-pack:masterfrom
yonik:library_fixes

Conversation

@yonik
Copy link
Copy Markdown
Contributor

@yonik yonik commented Dec 10, 2020

This PR fixes linking issues with clients/users of the SIMDCompressionAndIntersection library . When including "codecfactory.h" in more than one client object file, multiple linking errors would result due to non-inline functions and data located in header files. I moved larger functions to .cpp files, and specified "inline" for smaller functions. I spot-checked the resulting performance and didn't notice any differences.

@lemire
Copy link
Copy Markdown
Member

lemire commented Dec 10, 2020

Looks good to me. Merging.

@lemire lemire merged commit b4d62c3 into fast-pack:master Dec 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants