Skip to content

Comments

Memory improvements#2

Open
martinheidegger wants to merge 3 commits intomicro-js:masterfrom
martinheidegger:feature/memory-improvements
Open

Memory improvements#2
martinheidegger wants to merge 3 commits intomicro-js:masterfrom
martinheidegger:feature/memory-improvements

Conversation

@martinheidegger
Copy link
Contributor

Creating an observable currently always also creates an array for listeners. Even if there is only one listener added. This PR creates (and drops) the listeners array only if more than one listener was added.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant