Re: Efficiently passing structs

2015-05-05 Thread Ali Çehreli via Digitalmars-d-learn
On 05/05/2015 07:14 AM, bitwise wrote: I don't see how someone could arrive at the above solution without showing up here and asking first. It was the same with me. :) Then I wrote a short section about it:

Re: dmd -profile=gc

2015-05-05 Thread Walter Bright via Digitalmars-d
On 5/4/2015 10:53 PM, extrawurst wrote: Does it work with a multithreaded application (in contrast to -profile) ? Yes, and -profile was also fixed a week ago to handle multiple threads.

[Issue 14547] Ddoc should prefer new Variable Template syntax

2015-05-05 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14547 Kenji Hara k.hara...@gmail.com changed: What|Removed |Added Keywords||pull --- Comment #1 from

[Issue 14547] New: Ddoc should prefer new Variable Template syntax

2015-05-05 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14547 Issue ID: 14547 Summary: Ddoc should prefer new Variable Template syntax Product: D Version: D2 Hardware: All OS: All Status: NEW Keywords: ddoc

Re: FreeTree eviction strategy

2015-05-05 Thread Chris via Digitalmars-d
On Monday, 4 May 2015 at 17:56:23 UTC, Andrei Alexandrescu wrote: So I'm toying around with a promising structure that I call free tree for std.allocator. There's some detail with code and docs here: http://forum.dlang.org/thread/mi1qph$cgr$1...@digitalmars.com. A free tree allocator is akin

Re: [hackathon] ARE WE SLIM YET?

2015-05-05 Thread Vladimir Panteleev via Digitalmars-d-announce
On Sunday, 3 May 2015 at 13:04:41 UTC, Vladimir Panteleev wrote: There is a bunch of cool things happening under the hood about which I might or might not do a full blog post later. http://blog.thecybershadow.net/2015/05/05/is-d-slim-yet/

Re: Error: conflicting Ddoc and obj generation options

2015-05-05 Thread zhmt via Digitalmars-d-learn
Finally,I got the dmd command line as below: dmd -c -of.dub/build/application-debug-linux.posix-x86_64-dmd_2067-3E65324D543ED19695028F22620736D3/ezsock.o -debug -g -w -version=Have_ezsock -version=Have_gamelibd -Isource/ -I../gamelibd/source/ -Jviews source/app.d .. And try to remove

Re: [hackathon] FreeTree is FreeList on autotune

2015-05-05 Thread Timon Gehr via Digitalmars-d-announce
On 05/02/2015 08:28 AM, Andrei Alexandrescu wrote: I'm just done implementing a pretty cool allocator: FreeTree. https://github.com/andralex/phobos/blob/allocator/std/experimental/allocator/free_tree.d http://erdani.com/d/phobos-prerelease/std_experimental_allocator_free_tree.html It's

Re: Efficiently passing structs

2015-05-05 Thread Namespace via Digitalmars-d-learn
I've discussed that so many times... just search for auto / scope ref... ;) It will never happen. See: http://forum.dlang.org/thread/ntsyfhesnywfxvzbe...@forum.dlang.org?page=1 http://forum.dlang.org/thread/ylebrhjnrrcajnvtt...@forum.dlang.org?page=1

Re: Good examples of value types

2015-05-05 Thread Justin Whear via Digitalmars-d
On Tue, 05 May 2015 20:40:58 +, Luís Marques wrote: could you come up with some type that would really benefit from being a value type but that isn't numeric (or otherwise similar)? Dates, times, durations, regular expressions, tokens, lazy generators, digests, vectors, really any type

Re: Does the compiler check for safe?

2015-05-05 Thread Charles Hixson via Digitalmars-d-announce
It was in announce because I made a mistake in posting.

Re: Efficiently passing structs

2015-05-05 Thread bitwise via Digitalmars-d-learn
On Tue, 05 May 2015 11:54:53 -0400, Jonathan M Davis jmdavisp...@gmx.com wrote: On Tuesday, 5 May 2015 at 02:47:03 UTC, bitwise wrote: On Mon, 04 May 2015 00:16:03 -0400, Jonathan M Davis via Digitalmars-d-learn digitalmars-d-learn@puremagic.com wrote: D will move the argument if it can

Re: std.xml2 (collecting features)

2015-05-05 Thread via Digitalmars-d
On Monday, 4 May 2015 at 19:28:25 UTC, Jacob Carlborg wrote: On 2015-05-03 19:39, Robert burner Schadek wrote: Not much code yet, I'm currently building the performance test suite https://github.com/burner/std.xml2 I recommend benchmarking against the Tango pull parser. Recently, I

Re: Qt Creator and D

2015-05-05 Thread David via Digitalmars-d
On Wednesday, 6 August 2014 at 20:17:53 UTC, Andr wrote: On Tuesday, 5 August 2014 at 14:12:44 UTC, Max Klimov wrote: On Wednesday, 18 September 2013 at 14:49:27 UTC, Joseph Rushton Wakeling wrote: Hello all, Several of us have been talking about Qt Creator and D in various subthreads of the

Re: std.xml2 (collecting features)

2015-05-05 Thread John Colvin via Digitalmars-d
On Tuesday, 5 May 2015 at 10:41:37 UTC, Mario Kröplin wrote: On Monday, 4 May 2015 at 19:28:25 UTC, Jacob Carlborg wrote: On 2015-05-03 19:39, Robert burner Schadek wrote: Not much code yet, I'm currently building the performance test suite https://github.com/burner/std.xml2 I recommend

Re: std.xml2 (collecting features)

2015-05-05 Thread Richard Webb via Digitalmars-d
On 05/05/2015 11:41, Mario =?UTF-8?B?S3LDtnBsaW4i?= linkr...@github.com wrote: Recently, I compared DOM parsers for an XML files of 100 MByte: 15.8 s tango.text.xml (SiegeLord/Tango-D2) 13.4 s ae.utils.xml (CyberShadow/ae) 8.5 s xml.etree (Python) Either the Tango DOM parser is slow

<    1   2