-
Notifications
You must be signed in to change notification settings - Fork 55
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #100 from AnnulusGames/optimization-collections
Improve: optimize collections, add LinkedPool
- Loading branch information
Showing
17 changed files
with
97 additions
and
73 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...ime/Internal/Tasks/TaskSourcePool.cs.meta → .../Runtime/Collections/FastListCore.cs.meta
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
11 changes: 11 additions & 0 deletions
11
src/LitMotion/Assets/LitMotion/Runtime/Collections/ILinkedPoolNode.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
namespace LitMotion.Collections | ||
{ | ||
/// <summary> | ||
/// An object pool node consisting of a linked list | ||
/// </summary> | ||
/// <typeparam name="T"></typeparam> | ||
public interface ILinkedPoolNode<T> where T : class | ||
{ | ||
ref T NextNode { get; } | ||
} | ||
} |
2 changes: 2 additions & 0 deletions
2
src/LitMotion/Assets/LitMotion/Runtime/Collections/ILinkedPoolNode.cs.meta
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 2 additions & 0 deletions
2
src/LitMotion/Assets/LitMotion/Runtime/Collections/LinkedPool.cs.meta
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 0 additions & 11 deletions
11
src/LitMotion/Assets/LitMotion/Runtime/Internal/MinimumList.cs.meta
This file was deleted.
Oops, something went wrong.
3 changes: 2 additions & 1 deletion
3
src/LitMotion/Assets/LitMotion/Runtime/Internal/MotionHandleLinker.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 2 additions & 1 deletion
3
src/LitMotion/Assets/LitMotion/Runtime/Internal/MotionStorageManager.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 0 additions & 7 deletions
7
src/LitMotion/Assets/LitMotion/Runtime/Internal/Tasks/IMotionTaskSourcePoolNode.cs
This file was deleted.
Oops, something went wrong.
11 changes: 0 additions & 11 deletions
11
src/LitMotion/Assets/LitMotion/Runtime/Internal/Tasks/IMotionTaskSourcePoolNode.cs.meta
This file was deleted.
Oops, something went wrong.
5 changes: 3 additions & 2 deletions
5
src/LitMotion/Assets/LitMotion/Runtime/Internal/Tasks/ValueTaskMotionConfiguredSource.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters