-
-
Notifications
You must be signed in to change notification settings - Fork 94
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
createSelector
#277
Comments
CSS has already defined Selector, perhaps we need a more unique name? |
Do you have any suggested names? |
Being able to reduce time complexity from |
Like Solid.js, I believe |
Done via #279 |
Discuss whether
createSelector
is needed to optimize performance.Using functions like
createSelector
can reduce the time complexity of the select row item in the benchmark fromO(n)
toO(1)
.Use
createSelector
in other frameworksHere is some information about
createSelector
in other frameworks:SolidJS -- createSelector
VueRX JSX -- createSelector
The simple attempts of createSelector with Vapor -- perf: improve vue-vapor test code krausest/js-framework-benchmark#1729
Use
v-memo
in VueIt is important to note when using
v-memo
in Vue. We can achieve a similar effect:Since v-memo is a more general API, the user experience will be somewhat different because you need to specify content other than
id
, such asitem.label
.So what are your thoughts on this? Feel free to discuss.
The text was updated successfully, but these errors were encountered: