gdkchan
4f3af839be
Minor code formatting ( #4498 )
2023-03-04 14:43:08 +01:00
Andrey Sukharev
ae4324032a
Optimize string memory usage. Use Spans and StringBuilders where possible ( #3933 )
...
* Optimize string memory usage. Use ReadOnlySpan<char> and StringBuilder where possible.
* Fix copypaste error
* Code generator review fixes
* Use if statement instead of switch
* Code style fixes
Co-authored-by: TSRBerry <20988865+TSRBerry@users.noreply.github.com>
* Another code style fix
* Styling fix
Co-authored-by: Mary-nyan <thog@protonmail.com>
* Styling fix
Co-authored-by: gdkchan <gab.dark.100@gmail.com>
Co-authored-by: TSRBerry <20988865+TSRBerry@users.noreply.github.com>
Co-authored-by: Mary-nyan <thog@protonmail.com>
Co-authored-by: gdkchan <gab.dark.100@gmail.com>
2023-01-18 22:25:16 +00:00
Berkan Diler
c40c3905e2
Avoid allocations in .Parse methods ( #3760 )
...
* Avoid allocations in .Parse methods
Use the Span overloads of the Parse methods when possible to avoid string allocations and remove one unnecessarry array allocation
* Avoid another string allocation
2022-10-18 23:31:34 +00:00
Alex Barney
b2b736abc2
Misc cleanup ( #708 )
...
* Fix typos
* Remove unneeded using statements
* Enforce var style more
* Remove redundant qualifiers
* Fix some indentation
* Disable naming warnings on files with external enum names
* Fix build
* Mass find & replace for comments with no spacing
* Standardize todo capitalization and for/if spacing
2019-07-02 04:39:22 +02:00
Alex Barney
fb1d9493a3
Adjust naming conventions and general refactoring in HLE Project ( #527 )
...
* Rename enum fields
* Naming conventions
* Remove unneeded ".this"
* Remove unneeded semicolons
* Remove unused Usings
* Don't use var
* Remove unneeded enum underlying types
* Explicitly label class visibility
* Remove unneeded @ prefixes
* Remove unneeded commas
* Remove unneeded if expressions
* Method doesn't use unsafe code
* Remove unneeded casts
* Initialized objects don't need an empty constructor
* Remove settings from DotSettings
* Revert "Explicitly label class visibility"
This reverts commit ad5eb5787c
.
* Small changes
* Revert external enum renaming
* Changes from feedback
* Apply previous refactorings to the merged code
2018-12-06 09:16:24 -02:00
gdkchan
3615a70cae
Revert "Adjust naming conventions and general refactoring in HLE Project ( #490 )" ( #526 )
...
This reverts commit 85dbb9559a
.
2018-12-04 22:52:39 -02:00
Alex Barney
85dbb9559a
Adjust naming conventions and general refactoring in HLE Project ( #490 )
...
* Rename enum fields
* Naming conventions
* Remove unneeded ".this"
* Remove unneeded semicolons
* Remove unused Usings
* Don't use var
* Remove unneeded enum underlying types
* Explicitly label class visibility
* Remove unneeded @ prefixes
* Remove unneeded commas
* Remove unneeded if expressions
* Method doesn't use unsafe code
* Remove unneeded casts
* Initialized objects don't need an empty constructor
* Remove settings from DotSettings
* Revert "Explicitly label class visibility"
This reverts commit ad5eb5787c
.
* Small changes
* Revert external enum renaming
* Changes from feedback
* Remove unneeded property setters
2018-12-04 18:23:37 -02:00
Thomas Guillemard
46a11460d4
Rewrite the C++ Demangler ( #416 )
...
* Rewrite the C++ Demangler
This new Demangler provides support to almost every possible mangled
symbols and should behaves like GNU c++filt.
It works on 98.9% of the sdk's symbols and 99.5%
of Puyo Puyo Tetris's symbols.
* Fix code style
* Fix noexcept enclosed expression parsing issues
* fix code style issues
2018-09-15 15:29:18 +02:00