Skip to content
This repository was archived by the owner on Nov 19, 2020. It is now read-only.

Conversation

hanswolff
Copy link
Contributor

ReadOnlyDictionary is only a wrapper around an existing dictionary so you can retain the reference instead of recreating new instances on each property get.

This change avoids a (minor) performance bottleneck if a user queries the properties in a loop and is not aware of the inner implementation.

… each property get

ReadOnlyDictionary is only a wrapper around an existing dictionary so
you can retain the reference instead of recreating new instances on each
call.

This change avoids a (minor) performance bottleneck if a user queries
the properties in a loop and is not aware of the inner implementation.
cesarsouza added a commit that referenced this pull request Dec 6, 2013
retain ReadOnlyDictionary reference instead of recreating instance on each property get
@cesarsouza cesarsouza merged commit ccc84d8 into accord-net:master Dec 6, 2013
@cesarsouza
Copy link
Member

Thanks! Please let me know if you have any other suggestions and ideas for improving the project!

@hanswolff
Copy link
Contributor Author

Will do! Thank you for such a great framework!

andrewkirillov added a commit that referenced this pull request May 1, 2015
cesarsouza pushed a commit that referenced this pull request Aug 19, 2017
cesarsouza pushed a commit that referenced this pull request Aug 25, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants