Skip to content
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

Mapping leaks memory #13

Open
gene-pavlovsky opened this issue Dec 2, 2019 · 0 comments
Open

Mapping leaks memory #13

gene-pavlovsky opened this issue Dec 2, 2019 · 0 comments

Comments

@gene-pavlovsky
Copy link
Member

It would be nice to see Mapping improve one day.
Currently it leaks memory when a same key is added to it.
E.g. this code would result in a mapping that works correctly, but it's underlying list has 4 elements:

		var m:Mapping<String, String> = null;
		m = m.with("a", "1");
		m = m.with("b", "2");
		m = m.with("a", "3");
		m = m.with("a", "4");
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

No branches or pull requests

1 participant