LearnNewsExamplesServices
Frontmatter
id5480
titlecomponent.Base: getController(), getModel() => store the closet match as a reference
stateClosed
labels
enhancementstale
assignees[]
createdAtJun 24, 2024, 12:04 AM
updatedAtOct 6, 2024, 4:38 AM
githubUrlhttps://github.com/neomjs/neo/issues/5480
authortobiu
commentsCount2
parentIssuenull
subIssues[]
subIssuesCompleted0
subIssuesTotal0
blockedBy[]
blocking[]
closedAtOct 6, 2024, 4:38 AM

component.Base: getController(), getModel() => store the closet match as a reference

Closed v8.1.0 enhancementstale
tobiu
tobiu commented on Jun 24, 2024, 12:04 AM

right now, the amount of getConfigInstanceByNtype() calls got huge. it would help to store the closest first found controller and model instance inside a symbol to reduce the amount of parent searches.

tobiu added the enhancement label on Jun 24, 2024, 12:04 AM
tobiu referenced in commit a8b46c2 - "#5480 in progress" on Jun 24, 2024, 10:17 PM