We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
コントローラやロジックの初期化を高速化するため、コントローラの定義の解析結果をキャッシュする仕組みを導入する。 これに伴い、キャッシュをクリアする仕組みを整備する。
The text was updated successfully, but these errors were encountered:
キャッシュ機構は h5.core.definitionCacheManager で公開する。 公開するAPIはキャッシュを削除する definitionCacheManager.clear(name) と .clearAll() の2つ。
なお、キャッシュは h5.core.controller()を呼ぶと自動的に作成・内部保存される。 キャッシュは__nameの値をキーにして保存する。 原則として、hifiveでは__nameが同一のものは同一のクラスとみなすので、clear()やclearAll()はほとんどの場合は使われないはずである。 ただし、テスト等のために使ったり、何らかの事情で__nameが同一でありながら別のオブジェクトを後からコントローラ化したい場合のために、キャッシュクリアの機能を付ける。
Sorry, something went wrong.
aebe664 57924c1 h5.core.definitionCacheManagerにclear(name)とclearAll()を公開しました。
fukudayasuo
No branches or pull requests
コントローラやロジックの初期化を高速化するため、コントローラの定義の解析結果をキャッシュする仕組みを導入する。
これに伴い、キャッシュをクリアする仕組みを整備する。
The text was updated successfully, but these errors were encountered: