-
-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
same as #1430 appear again #1513
Comments
ILSPY 2.4.0.1963 spent 14.8 seconds. |
I cannot reproduce this with the current version: That ILSpy 5 is slower than ILSpy 2 is normal -- ILSpy 2 was mostly just guessing the corresponding C# code, and would often get it wrong. ILSpy 3+ use a more accurate approach -- ILSpy actually now contains half a C# compiler implementation, for example it tries to re-compile any decompiled function calls to check if the generated code will call the correct overload (if not, it inserts additional casts). This improved accuracy costs a lot of CPU time, so ILSpy 5 being a bit slower than ILSpy 2 is expected. |
Looking at the profile for your assembly, I think a significant speed up is possible if we already construct simple trees in |
please refer to #1430 and its attachment, the slow save code appear again
The text was updated successfully, but these errors were encountered: