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

lazy_static 제거할 수 있는 곳 제거하기 #8

Closed
Perlmint opened this issue Aug 6, 2020 · 1 comment · Fixed by #9
Closed

lazy_static 제거할 수 있는 곳 제거하기 #8

Perlmint opened this issue Aug 6, 2020 · 1 comment · Fixed by #9

Comments

@Perlmint
Copy link
Collaborator

Perlmint commented Aug 6, 2020

rust-lang/rust#72437

const if, const loop가 stabilize되면 https://docs.rs/smallvec/1.4.1/smallvec/ 같은 자료구조를 직접 만들거나 const expression을 제공하는 것을 찾아서 컴파일타임에 정해지도록 할 수 있을 듯

@Perlmint
Copy link
Collaborator Author

Perlmint commented Nov 29, 2020

https://docs.rs/smallvec/1.5.0/smallvec/index.html#const_generics smallvec에서 이미 구현 제공 중. const_generic을 통해서 완전한 지원만 하려는 듯. 이걸 기다리려면 const_generic이 stabilize되길 기다려야함

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 a pull request may close this issue.

1 participant