Implement Deferred/Adapted Signal using Lua
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
- #464 @lucasmz-dev による — マージされずにクローズ
評価
調査の方向性
まず、Signal パッケージの現在の GoodSignal と BindableEvent の実装を見つけ、次にリンクされている FastSignal ライブラリについて、その遅延動作とモード検出を確認します。BindableEvent アプローチを、報告されているリークの懸念なしに Deferred または Adapted の動作を維持する Lua ベースの Signal に置き換えれば完了です。
索引モデルが issue の本文から書いたものです。
説明
What package is this for?
Signal
Describe your problem
Currently, Signal by defaults uses GoodSignal which has some issues but is nice, but it also has the option of the older standard that uses BindableEvents. BindableEvents allow for Deferred (Adaptive) behavior which is important, GoodSignal doesn't. At the same time however, BindableEvents suck. They cause memory leaks which may not be detected by the user.
Describe the solution you'd like
We should abandon the BindableEvent approach. It is slower, leakier, just plain worse. We now have the power of Lua Signals, have had so for a long time. But it is also important to implement Deferred behavior.
We have task.defer, and it is also possible to infer what mode the game is in with some simple code.
I did this in my Signal library which is useful to implementing this. You can use it if you like (I don't maintain it, running Linux can't anymore, it doesn't have the same typing as sleitnick's fork for example) or fork/use the ideas/code from there. (I think so anyway? I haven't looked at licenses for a while but I can probably change it for this if it is an issue)
Thank you for your time.
- 主要言語
- Lua
- スター
- 632
- フォーク
- 148
- 平均マージ
- 15時間 41分
- マージ済み PR(30日)
- 13
環境構築
このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
Quenty/NevermoreEngine のほかの issue
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
Quenty/NevermoreEngine#860 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 3/5 1〜2日 初心者へのやさしさ 45/100
Quenty/NevermoreEngine#670 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 3/5 1〜2日 初心者へのやさしさ 52/100
Quenty/NevermoreEngine#583 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 3/5 1〜2日 初心者へのやさしさ 35/100
Quenty/NevermoreEngine#507 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 3/5 1〜2日 初心者へのやさしさ 45/100
Quenty/NevermoreEngine#471 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信
Quenty/NevermoreEngine の issue をすべて見る
似ている issue
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
fitzforge/polestar#1825 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
Data Correction Forever
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
obsidian-nvim/obsidian.nvim#1027 ·
メンテナーはふだん 1 日以内に返信
-
area: top panel enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
AndyHazz/bookshelf.koplugin#599 · コメント 2 件 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100