1
0
mirror of https://github.com/oliverbooth/X10D synced 2024-11-23 01:18:46 +00:00
Commit Graph

823 Commits

Author SHA1 Message Date
e0bdaaddce
style/perf: reduce complexity of MinMax and MinMaxBy 2023-03-28 16:28:59 +01:00
121c3a388a
test: 100% coverage on EnumerableExtensions 2023-03-28 16:28:38 +01:00
9bb9c9692a
tests: 100% coverage on Circle and CircleF 2023-03-28 16:09:35 +01:00
3e4d9603c0
test: cover Color.Deconstruct 2023-03-28 15:54:06 +01:00
3bc2ae45c7
style: remove unused using directive 2023-03-28 15:44:48 +01:00
7b9797648a
perf(sourcegen): cache and compile regex. pass timeout 2023-03-28 15:44:27 +01:00
e3dcad5690
build(nupkg): use MSBuildProjectDirectory and go up 1 level
SolutionDir macro is returning empty/null in workflow, causing a job failure since CHANGELOG.md is not in root.

this may or may not fix the workflow. tba
2023-03-28 15:11:09 +01:00
d4b23e8a8c
build(ci): update checkout and setup-dotnet actions
- actions/checkout@v3
- actions/setup-dotnet@v3
2023-03-28 15:02:09 +01:00
9c8527282b
[ci skip] feat: add workflow files as solution items 2023-03-28 14:59:46 +01:00
3121b23732
fix(tests): fix incorrect timezone offset for DST 2023-03-28 14:54:11 +01:00
55cae2f454
test: update test project dependencies
- Microsoft.NET.Test.Sdk 17.5.0
- MSTest.* 3.0.2
- coverlet.collector 3.2.0
2023-03-28 14:54:11 +01:00
2cb6567410
build(nupkg): add PackageReleaseNotes to csproj 2023-03-28 14:27:15 +01:00
9b5cc9fac3
[ci skip] Reference #72 in changelog 2023-03-26 17:24:20 +01:00
3b85419da3
Add MinMax and MinMaxBy (resolves #72) 2023-03-26 17:03:40 +01:00
e00a673a04
i is for I will scream at these changes 2023-03-23 15:11:44 +00:00
ea26b5a7e1
Use explicit type where non-evident in SpanExtensions 2023-03-23 15:11:15 +00:00
136382a2a3
[ci skip] Revert 167a55e2db
Code analysis can suck an egg. We needed this actually
2023-03-23 15:07:09 +00:00
167a55e2db
[ci skip] Remove redundant unsafe method modifiers 2023-03-23 15:06:01 +00:00
cb80d19451
[ci skip] Fix xmldoc for SpanExtensions.Contains 2023-03-23 15:02:57 +00:00
9edab4d066
[ci skip] ... I mean PR #70
So about that. I'm tired and barely had one coffee today, leave me alone.
2023-03-23 13:54:46 +00:00
7fbbb6ee64
[ci skip] Document changes introduced with PR #68 2023-03-23 13:53:12 +00:00
c6fdea1505
[ci skip] Format changelog 2023-03-23 13:38:38 +00:00
Oliver Booth
f8243923df
Merge pull request #70 from RealityProgrammer/main
Code fixup and optimization
2023-03-23 01:06:59 +00:00
RealityProgrammer
44165b310d Move exception message to the right resource resx 2023-03-14 22:03:21 +07:00
RealityProgrammer
0bf4d7ba77 Again, fix source validator reports 2023-03-14 21:41:35 +07:00
RealityProgrammer
77b0a8ca39 Move some intrinsic methods around, reimplement RuneExtensions.Repeat(Rune, Int32) 2023-03-14 21:18:01 +07:00
RealityProgrammer
8b8aeb3f56 Fix source validator's code reports, remove 95% of AdvSimd implementation to prevent future consequences 2023-03-14 19:17:19 +07:00
RealityProgrammer
ec8e60c6dc Rephrase note message 2023-03-08 13:38:28 +07:00
RealityProgrammer
1651f0ed19 Software fallback implementation for methods in IntrinsicExtensions 2023-03-08 13:35:24 +07:00
RealityProgrammer
0c9623bab3 Add missing XML documentations 2023-03-08 10:14:24 +07:00
RealityProgrammer
d41bdc871d Merge branch 'main' of https://github.com/RealityProgrammer/X10D 2023-03-08 09:47:59 +07:00
RealityProgrammer
b251f880ff Optimize Rune.Repeat(int) when UTF8 sequence length is 1 or 2 and reformat some intrinsic code 2023-03-08 09:46:20 +07:00
Oliver Booth
a685d6ec39
Merge branch 'develop' into main 2023-03-07 17:30:15 +00:00
RealityProgrammer
e176f65e97 Commit git's untracked files 2023-03-07 16:50:04 +07:00
RealityProgrammer
dc8b263f1e Fast Int32, Int64 packing 2023-03-07 16:48:02 +07:00
RealityProgrammer
6f343cd393 Fast Int16 packing 2023-03-07 08:58:53 +07:00
RealityProgrammer
5e4044f965 Code fixup, fast Int8 packing 2023-03-06 10:39:58 +07:00
RealityProgrammer
a808cab37f Optimize DictionaryExtensions and handle CodeAnalysis errors 2023-03-06 07:50:10 +07:00
RealityProgrammer
4300e35b4e Replace stackalloc and ToArray combination to array initialization directly 2023-03-06 07:17:32 +07:00
RealityProgrammer
862d3ad189 Merge branch 'main' of https://github.com/RealityProgrammer/X10D 2023-03-06 06:49:13 +07:00
RealityProgrammer
e1a7ac03c6 Added SpanExtensions and the reinterpret between Unity's structs to System.Numerics structs 2023-03-06 06:49:07 +07:00
RealityProgrammer
ba8c0c6510
Merge branch 'oliverbooth:main' into main 2023-03-06 00:00:19 +07:00
RealityProgrammer
1e98e6910f Initial commit with SIMD implementation and some other specialization methods 2023-03-05 23:57:11 +07:00
799bc77ec8
Add IsEmpty/IsWhiteSpace and IsNullOrEmpty/WhiteSpace for string 2023-02-28 19:05:03 +00:00
041181cc5a
Add IEnumerable<T?>.WhereNotNull() 2023-02-27 21:11:37 +00:00
7a6dbef4f9
[ci skip] Fix null-check precondition for WhereNot<T> 2023-02-27 21:11:07 +00:00
3ef6cf2cde
Fix xmldoc for decimal.Sqrt 2023-02-27 17:19:12 +00:00
db2def1eab
Add Wrap for built-in numeric types (#60) 2023-02-27 17:18:44 +00:00
d1959f4ba6
[ci skip] Add unit tests for IsOnLine 2023-02-27 17:05:59 +00:00
f5b88e5309
[github actions] Use .NET 7 2023-02-27 16:59:35 +00:00