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

allocatorの改善案 #126

Open
KisaragiEffective opened this issue Sep 22, 2024 · 1 comment
Open

allocatorの改善案 #126

KisaragiEffective opened this issue Sep 22, 2024 · 1 comment

Comments

@KisaragiEffective
Copy link
Owner

現在のTransformInlineが返す参照をOnMemory<T>にする。そうするとT (= Id<T>) は OnMemory<T>に代入できなくなる。逆もしかり。
allocatorはこの事実を反映して、SaveT -> TからOnMemory<T> -> Tにするべき。
OnMemoryのまま宙ぶらりんになったインスタンスはメモリ上のゴミなので、そのまま消して良い。

@KisaragiEffective
Copy link
Owner Author

KisaragiEffective commented Sep 26, 2024

partially done in #133

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

No branches or pull requests

1 participant