aboutsummaryrefslogtreecommitdiff
path: root/ARMeilleure/IntermediateRepresentation/IIntrusiveListNode.cs
diff options
context:
space:
mode:
authorgdkchan <gab.dark.100@gmail.com>2020-02-17 18:30:54 -0300
committerGitHub <noreply@github.com>2020-02-17 22:30:54 +0100
commite5f78fb1d44b825ee9195660f4387680055137dc (patch)
tree59cfa56dc046bd27aa1d7e9d7b0840ffafd9f601 /ARMeilleure/IntermediateRepresentation/IIntrusiveListNode.cs
parente9a37ca6a85346c05149deac916dc90de43ad240 (diff)
Replace LinkedList by IntrusiveList to avoid allocations on JIT (#931)
* Replace LinkedList by IntrusiveList to avoid allocations on JIT * Fix wrong replacements
Diffstat (limited to 'ARMeilleure/IntermediateRepresentation/IIntrusiveListNode.cs')
-rw-r--r--ARMeilleure/IntermediateRepresentation/IIntrusiveListNode.cs8
1 files changed, 8 insertions, 0 deletions
diff --git a/ARMeilleure/IntermediateRepresentation/IIntrusiveListNode.cs b/ARMeilleure/IntermediateRepresentation/IIntrusiveListNode.cs
new file mode 100644
index 00000000..797e7891
--- /dev/null
+++ b/ARMeilleure/IntermediateRepresentation/IIntrusiveListNode.cs
@@ -0,0 +1,8 @@
+namespace ARMeilleure.IntermediateRepresentation
+{
+ interface IIntrusiveListNode<T> where T : class
+ {
+ T ListPrevious { get; set; }
+ T ListNext { get; set; }
+ }
+}