rungwiroon / BlazorGoogleMaps

Blazor interop for GoogleMap library
MIT License
331 stars 105 forks source link

optimize JS loops to only read array lengths once #234

Closed TheAtomicOption closed 1 year ago

TheAtomicOption commented 1 year ago

Saw that this reduced my large MarkerList object creation time by about 10%, so went ahead and applied the principle to all the other JS loops that didn't already have it.

valentasm1 commented 1 year ago

Awesome.

valentasm1 commented 1 year ago

https://www.nuget.org/packages/BlazorGoogleMaps/2.4.4