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

Display の内部の配列 #13

Closed
rrbox opened this issue Jul 15, 2022 · 2 comments
Closed

Display の内部の配列 #13

rrbox opened this issue Jul 15, 2022 · 2 comments

Comments

@rrbox
Copy link
Owner

rrbox commented Jul 15, 2022

内部で配列を使用すると, パフォーマンスのロスがあります. SwiftUI 同様, Tuple の型を用意した方がいいかもしれません. Tuple の欠点は, resultBuilder による同時配置に上限があることです.

@rrbox rrbox changed the title Display の内部システムの配列の使用をやめよう Display の内部の配列 Jul 15, 2022
@rrbox rrbox closed this as completed Sep 4, 2022
@rrbox
Copy link
Owner Author

rrbox commented Feb 9, 2023

再帰的な構造をとる構造体を使用した連結リストを使用するようになりました。
様々な型の要素を含むことができ、静的ディスパッチでメソッドを実行できるようになっています。

@rrbox
Copy link
Owner Author

rrbox commented Feb 9, 2023

Tuple を使用する API については #60 で考えていきます。

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