Re: Slicing upward

2019-09-15 Thread rikki cattermole via Digitalmars-d-learn
On 15/09/2019 5:06 AM, Brett wrote: On Saturday, 14 September 2019 at 11:39:21 UTC, rikki cattermole wrote: On 14/09/2019 11:34 PM, Brett wrote: I have an algorithm that is most efficiently implement by taking an array and slicing it upward, meaning removing the leading elements. Because the

Re: Slicing upward

2019-09-14 Thread Jonathan M Davis via Digitalmars-d-learn
On Saturday, September 14, 2019 5:34:35 AM MDT Brett via Digitalmars-d-learn wrote: > I have an algorithm that is most efficiently implement by taking > an array and slicing it upward, meaning removing the leading > elements. > > Because the algorithm is complex(deterministic but chaotic) and > de

Re: Slicing upward

2019-09-14 Thread Paul Backus via Digitalmars-d-learn
On Saturday, 14 September 2019 at 11:34:35 UTC, Brett wrote: I have an algorithm that is most efficiently implement by taking an array and slicing it upward, meaning removing the leading elements. Because the algorithm is complex(deterministic but chaotic) and deals with multiple arrays it is

Re: Slicing upward

2019-09-14 Thread Brett via Digitalmars-d-learn
On Saturday, 14 September 2019 at 11:39:21 UTC, rikki cattermole wrote: On 14/09/2019 11:34 PM, Brett wrote: I have an algorithm that is most efficiently implement by taking an array and slicing it upward, meaning removing the leading elements. Because the algorithm is complex(deterministic b

Re: Slicing upward

2019-09-14 Thread rikki cattermole via Digitalmars-d-learn
On 14/09/2019 11:34 PM, Brett wrote: I have an algorithm that is most efficiently implement by taking an array and slicing it upward, meaning removing the leading elements. Because the algorithm is complex(deterministic but chaotic) and deals with multiple arrays it is difficult to efficiently

Slicing upward

2019-09-14 Thread Brett via Digitalmars-d-learn
I have an algorithm that is most efficiently implement by taking an array and slicing it upward, meaning removing the leading elements. Because the algorithm is complex(deterministic but chaotic) and deals with multiple arrays it is difficult to efficiently use slicing. Is there some easy w