-
Notifications
You must be signed in to change notification settings - Fork 3
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
Performance Improvements #135
Comments
using TryGetValue in AppSettings so you look for the value once instead 3 times |
Oh I see what you mean, totally forgot about such functions, long time not visited those files 😂. Glad we have you ❤️ |
just return 😂 |
Added Performance improvements for #135
Do you have some benchmark values for those, as I mentioned in #148, I am curious if it makes that much of a difference when using array.Lenght or list.Count over using a local variable? |
Well for me this would not be a reason to rewrite everything, but now since I already merged we have it like you did now. It's not a big deal, but I was really curious about it, thanks for measuring ✌️ |
Still some room for improvemence here |
Yeah the allocated is pretty high in comparison, good thing to change that |
Oh true, I also think converting to lower case is the worst way for comparison. Since there are way faster ways. Finn is no one who thinks about speed 😂 |
😂 Is there something else that I should focus on optimising? |
Hmm, I can not think about something rn |
Next Performance Improvements:
Database:
DatabaseItem:
RequestHelper:
And More |
Just by changing the way the Password will be checked results is about 90% faster is very interesting in my opinion |
Pretty good job. I would've never figured this out 😂. You got som very good looking differences in performance waiting to get this merged and tested👍. |
I will add this later to my Performance Branch and will create a Merge Request |
Should we really check if the Password contains Punctuation or should we check if the Password contains Special characters? because if the Password contains "<>%$§" without ".:;," it will be seen as insecure should we change that? |
Replace the ToLower in RemoveDatabasePath to Equals with ignore case. FrozenAssassine#135 Verknüpfte Arbeitselemente: #1
Performance Improve for the Password Generation #135
Issue for multiple small or big performance improvements
The text was updated successfully, but these errors were encountered: