Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

구조체 패딩이란? #60

Open
utterances-bot opened this issue Feb 15, 2020 · 1 comment
Open

구조체 패딩이란? #60

utterances-bot opened this issue Feb 15, 2020 · 1 comment
Labels
comment Further information is requested

Comments

@utterances-bot
Copy link

구조체 패딩이란?

DB Reflection(해당 모든 변수의 런타임 정보를 담은 것)에 관한 개발 중, 모든 변수의 구조체로부터의 offset을 기록하는 과정에서 문득 저장되는 Data Class의 메모리 정렬 방식이 4byte, 8byte 혹은 1byte인 것이 퍼포먼스에 정말 중요하게 영향을...

https://wnsgml972.github.io/c/2019/11/21/c_struct_padding/

Copy link
Owner

댓글 시스템 disqus -> utteranc 로 전환하였습니다.

기존 댓글

heal9179 • 2019.12

테스트 하실 때 주의하실 점은 테스트도 통계적인 방법으로 접근하셔야 된다는 점 입니다. OS가 테스트 프로그램만 실행시키는 것도 아니기 때문에, 매 번 실행하실 때마다 크고 작은 오차가 생깁니다. 때문에 여러 번 테스트하시고 outlier를 제거한 후, 평균값을 내시면 비교적 정확한 테스트가 가능합니다.

김준희 관리자 -> heal9179 • 2019.12

여러번 테스트 하긴 했는데, 통계적으로 유의하게까지는 테스트하지 않았던 것 같습니다. 테스트 시 outlier를 제거하는 방법에 대해 좀 더 알아봐야 할 것 같습니다. 좋은 피드백 감사합니다!!

heal9179 -> 김준희 관리자 • 2019.12

사실 앞에 더 자세한 내용을 적어드렸는데, 댓글이 pending 상태네요;;

김준희 관리자 -> heal9179 • 2019.12

너무 감사합니다!! 사실 혼자 테스트하면서도 어떻게 해야 이 테스트가 의미 있을까 고민을 많이 했었는데, 너무 많은 경우의 수가 있어서 혼자 결론을 못 냈던 것 같습니다.
혹시 더 자세한 내용이 있는데 댓글이 안 적혔다면 메일로 보내주실 수 있을까요??
제 메일은 [email protected] 입니다.

@wnsgml972 wnsgml972 added the comment Further information is requested label Feb 15, 2020 — with utterances
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
comment Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants