Typed Message Passing between D Processes

Atila Neves via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Wed Jul 29 09:52:29 PDT 2015


On Monday, 29 June 2015 at 13:59:37 UTC, Nordlöw wrote:
> On Monday, 29 June 2015 at 10:22:10 UTC, Atila Neves wrote:
>>> I guess I'm going to have benchmark this now... :)
>
> What about doing a memory profiling using DMD fresh builtin 
> profiler of
>
> http://dpaste.dzfl.pl/17b0ed9c0204
>
> ?
>
> I'm guessing the GC might give misguiding results as your 
> testStruct returns a relatively small data structure.
>
> I would rather like to see a larger (randomized) structure 
> being tested on.
>
> You could make use of my
>
> https://github.com/nordlow/justd/blob/master/random_ex.d
>
> for random instance generation :)

I tried your code and added it to the benchmark. It didn't make 
much of a difference.

Atila


More information about the Digitalmars-d-learn mailing list