Re: associative arrays with manual memory management

2015-09-13 Thread Ilya Yaroshenko via Digitalmars-d-announce

On Wednesday, 26 August 2015 at 12:10:17 UTC, Per Nordlöw wrote:

On Wednesday, 26 August 2015 at 10:48:11 UTC, Ilya Yaroshenko
>> auto a  = aa!(string, int)(Mallocator.instance); // 3rd CT

highlights

It would be nice to also see an example at
https://github.com/arexeu/aammm

that shows AA-usage in conjunction with some other allocator 
such as FreeList and add a note about the performance 
improvement this gives.


I have not any significant performance improvement with 
FreeList/SharedFreeList comparing with Mallocator. However, the 
difference can be significant for server with 20-30 core CPUs 
because malloc function use internal lock.


Simple benchmark:
https://github.com/arexeu/aammm/commit/260ef4f94618b85463dec5c90e0b894b08750d07#diff-24efeb785f1d7039ab1c9bc29ba99c99R1071


Re: Beta D 2.068.2-b1

2015-09-13 Thread Marco Leise via Digitalmars-d-announce
And I found another regression in 2.068.1:
https://issues.dlang.org/show_bug.cgi?id=15056

-- 
Marco



More This Week in D!

2015-09-13 Thread Adam D. Ruppe via Digitalmars-d-announce
This week, a tip about working around a bug with some quick 
philosophy about getting stuff done:


http://arsdnet.net/this-week-in-d/sep-13.html

Last week, new DMD, new LDC, and interview with Atila Neves!

http://arsdnet.net/this-week-in-d/sep-06.html


BTW, another thing I've been writing the last couple days is 
documentation and more cleanup to simpledisplay.d: 
http://arsdnet.net/arsd/simpledisplay.html


If all goes well, I'll have this done for next week, not just 
useful for itself, but an example of my vision of what nice 
documentation would be like for any D library.


I'm considering participating in the Bountysource Salt too. If I 
can raise enough money, I can spend a lot more time writing both 
D libraries and documentation.


Re: More This Week in D!

2015-09-13 Thread Rikki Cattermole via Digitalmars-d-announce

On 14/09/15 3:51 PM, Adam D. Ruppe wrote:

This week, a tip about working around a bug with some quick philosophy
about getting stuff done:

http://arsdnet.net/this-week-in-d/sep-13.html

Last week, new DMD, new LDC, and interview with Atila Neves!

http://arsdnet.net/this-week-in-d/sep-06.html


BTW, another thing I've been writing the last couple days is
documentation and more cleanup to simpledisplay.d:
http://arsdnet.net/arsd/simpledisplay.html

If all goes well, I'll have this done for next week, not just useful for
itself, but an example of my vision of what nice documentation would be
like for any D library.

I'm considering participating in the Bountysource Salt too. If I can
raise enough money, I can spend a lot more time writing both D libraries
and documentation.


+1 for Bountysource Salt.
Considering it too.