Search Issue Tracker

Won't Fix

Votes

0

Found in

2017.1.0f3

Issue ID

933201

Regression

No

Using delegates as keys in Dictionaries is ~1000 times slower with the .NET 4.6 scripting runtime

Mono

-

To reproduce:

1. Open the project, attached by the user (Dictionary4.6Performance.zip)
2. Open "main" scene
3. Change Scripting Runtime Version to 4.6, if it is not 4.6
4. Enter Play mode
5. Observe the number in the console
6. Change Scripting Runtime Version to 3.5
7. Repeat 4 and 5

Expected: using delegates as keys in dictionary with .NET 4.6 is as fast as with .NET 3.5

Reproduced in 2017.1.0a6, 2017.1.0b10 .2017.1.0f3, 2017.1.0p1, 2017.2.0b4, 2017.3.0a1
No regression, .NET 4.6 first appeard in 2017.1.0a6

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.