From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from duke.felloff.net ([216.126.196.34]) by ewsd; Fri Nov 22 16:14:35 EST 2019 Message-ID: Date: Fri, 22 Nov 2019 22:14:25 +0100 From: cinap_lenrek@felloff.net To: 9front@9front.org Subject: Re: [9front] fix ref822 In-Reply-To: 663176CA83C9DF3BA009A5067FE7C47A@eigenstate.org MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit List-ID: <9front.9front.org> List-Help: X-Glyph: ➈ X-Bullshit: core element-oriented STM framework what do you mean with "different results"? what do i miss? i was thinking that as we deduplicate the end result anyway, the only difference would be that we retain more unique values in the case of duplicates. but i might be missing something. the assumption was that Nref was an arbitrary choosen value and the differences only kick in when we reach that number of refernces in the array. old code: a = uniq(trunc-left(cat(a, uniq(trunc-right(tokenize(f)))))) new code: a = trunc-left(uniq(cat(a, trunc-right(tokenize(f))))) you can see that when there are no duplicates, that is, when you remove the uniq() functions, they'r both identical expressions. -- cinap