On 20.12.17 17:19, Stefan Koch wrote: > On Wednesday, 20 December 2017 at 15:28:00 UTC, Christian Köstlin wrote: >> When working with json data files, that we're a little bigger than >> convenient I stumbled upon a strange behavior with joining of mapresults >> (I understand that this is more or less flatmap). >> I mapped inputfiles, to JSONValues, from which I took out some arrays, >> whose content I wanted to join. >> Although the joiner is at the end of the functional pipe, it led to >> calling of the parsing code twice. >> I tried to reduce the problem: >> >> [...] > > you need to memorize I guess, map is lazy. thats an idea, thank a lot, will give it a try ...
Re: Behavior of joining mapresults
Christian Köstlin via Digitalmars-d-learn Wed, 20 Dec 2017 08:35:49 -0800
- Behavior of joining mapresults Christian Köstlin via Digitalmars-d-learn
- Re: Behavior of joining ma... Stefan Koch via Digitalmars-d-learn
- Re: Behavior of joinin... Christian Köstlin via Digitalmars-d-learn
- Re: Behavior of jo... Christian Köstlin via Digitalmars-d-learn
- Re: Behavior o... Jonathan M Davis via Digitalmars-d-learn
- Re: Behavior o... Christian Köstlin via Digitalmars-d-learn