Frontmatter
| id | 3862 |
| title | Neo.applyClassConfig() => handle singletons and return the updates class or instance |
| state | Closed |
| labels | enhancement |
| assignees | tobiu |
| createdAt | Jan 15, 2023, 2:38 AM |
| updatedAt | Jan 15, 2023, 9:34 AM |
| githubUrl | https://github.com/neomjs/neo/issues/3862 |
| author | tobiu |
| commentsCount | 2 |
| parentIssue | null |
| subIssues | [] |
| subIssuesCompleted | 0 |
| subIssuesTotal | 0 |
| blockedBy | [] |
| blocking | [] |
| closedAt | Jan 15, 2023, 9:32 AM |
Neo.applyClassConfig() => handle singletons and return the updates class or instance
tobiu assigned to @tobiu on Jan 15, 2023, 2:38 AM

tobiu
Jan 15, 2023, 8:56 AM
while the singleton changes are good, the default class changes decrease the performance due to the way module caching works. need to revert this part.

tobiu
Jan 15, 2023, 9:32 AM
did some more testing. it does not seem to affect the performance. however, the IDE support for non singleton based changes gets WAY worse:


i think we should just keep the current version.
tobiu closed this issue on Jan 15, 2023, 9:32 AM
this will greatly reduce the code