Skip to content

Commit c2436b4

Browse files
committed
Remove AL best perf
1 parent ea87484 commit c2436b4

File tree

16 files changed

+1
-35
lines changed

16 files changed

+1
-35
lines changed

Src/Decorators/Cooldown.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,9 @@ public Gate? this[float s]
3030

3131
}
3232

33-
#if !AL_BEST_PERF
3433
partial class Task{
3534
public Conditional.Gate? Cooldown(float duration, [Tag] int key = -1)
3635
=> store.Decorator<Cooldown>(key, Active.Core.Cooldown.id)[duration];
3736
}
38-
#endif
3937

4038
}

Src/Decorators/Delay.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,12 +37,10 @@ public Gate? this[float duration]{ get{
3737

3838
}
3939

40-
#if !AL_BEST_PERF
4140
partial class Task{
4241
public Waiter.Gate? After(float delay, [Tag] int key = -1)
4342
=> store.Decorator<Delay>(key, Active.Core.Delay.id)[delay];
4443
}
45-
#endif
4644

4745
} // Active.Core
4846

Src/Decorators/Drive.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,6 @@ public StatusRef this[status s]{ get{
6767

6868
}
6969

70-
#if !AL_BEST_PERF
7170
partial class Task{
7271
public Self.Gate? While(status @in, [Tag] int key = -1)
7372
=> store.Decorator<Self>(key, Self.id)[@in, crit: false];
@@ -78,6 +77,5 @@ partial class Task{
7877
public Self.Gate? Tie(bool @in, [Tag] int key = -1)
7978
=> store.Decorator<Self>(key, Self.id)[@in, crit: true];
8079
}
81-
#endif
8280

8381
}

Src/Decorators/FrameDelay.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,13 +37,11 @@ public Gate? this[int duration]{ get{
3737

3838
}
3939

40-
#if !AL_BEST_PERF
4140
partial class Task{
4241
public Waiter.Gate? AfterFrames(int frames, [Tag] int key = -1)
4342
=> store.Decorator<FrameDelay>(key,
4443
Active.Core.FrameDelay.id)[frames];
4544
}
46-
#endif
4745

4846
} // Active.Core
4947

Src/Decorators/InOut.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,9 @@ public class InOut : Conditional{
2323

2424
}
2525

26-
#if !AL_BEST_PERF
2726
partial class Task{
2827
public Conditional.Gate? InOut(bool @in, bool @out, [Tag] int key = -1)
2928
=> store.Decorator<InOut>(key, Active.Core.InOut.id)[@in, @out];
3029
}
31-
#endif
3230

3331
}

Src/Decorators/Init.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,11 +56,9 @@ public readonly struct Gate{
5656

5757
}
5858

59-
#if !AL_BEST_PERF
6059
partial class Task{
6160
public Init With([Tag] int key = -1)
6261
=> store.Decorator<Init>(key, Active.Core.Init.id).pass;
6362
}
64-
#endif
6563

6664
} // end-Active.Core

Src/Decorators/Interval.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,12 +51,10 @@ static internal float EvalInc(float p, float o, float s, float t)
5151

5252
}
5353

54-
#if !AL_BEST_PERF
5554
partial class Task{
5655
public Waiter.Gate? Every(float delay, float offset = 0f,
5756
[Tag] int key = -1)
5857
=> store.Decorator<Interval>(key, Active.Core.Interval.id)[delay];
5958
}
60-
#endif
6159

6260
}

Src/Decorators/Latch.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,10 @@ public Gate? this[bool cond]{ get{
2323

2424
}
2525

26-
#if !AL_BEST_PERF
2726
partial class UTask{
2827
}partial class Task{
2928
public Conditional.Gate? Latch(bool @in, [Tag] int key = -1)
3029
=> store.Decorator<Latch>(key, Active.Core.Latch.id)[@in];
3130
}
32-
#endif
3331

3432
}

Src/Decorators/Once.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,11 +62,9 @@ public StatusRef this[status s]{ get{
6262

6363
} // Once
6464

65-
#if !AL_BEST_PERF
6665
partial class Task{
6766
public Self.Gate? Once([Tag] int key = -1)
6867
=> store.Decorator<Self>(key, Self.id).pass;
6968
}
70-
#endif
7169

7270
}

Src/Decorators/ResetCriterion.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,12 +48,10 @@ override public action Reset(){
4848

4949
}
5050

51-
#if !AL_BEST_PERF
5251
partial class Task{
5352
public ResetCriterion with(object arg, [Tag] int key = -1)
5453
=> store.Decorator<ResetCriterion>(
5554
key, Active.Core.ResetCriterion.id).Check(arg, rox);
5655
}
57-
#endif
5856

5957
} // Active.Core

0 commit comments

Comments
 (0)