Search Issue Tracker

Won't Fix

Votes

0

Found in

5.2.0f3

Issue ID

726862

Regression

No

System.Collections.Generic.Stack in Unity Windows build slower than in C# Console Application by a factor of ~2

Scripting

-

To reproduce:
1. Open project
2. Build to windows
3. Enter a number (or leave 1000000) into the text box
4. Press "Run tests"
The results will be stored in projectfolder\output.log

5. Open stackTest.csproj in Visual Studio
6. Run it
7. Enter the same number you entered into the unity project
The results will be stored in projectfolder\StackTest_Console\bin\Debug\output.log

Compare the results. Notice that the console application pushes, pops and peeks about 2-3 times faster.

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.