Reserving/Preallocating associative array?

Benjamin Thaut code at benjamin-thaut.de
Thu Dec 26 10:07:37 PST 2013


Am 25.12.2013 21:26, schrieb Gordon:
> On Wednesday, 25 December 2013 at 18:51:22 UTC, Andrei Alexandrescu wrote:
>> On 12/25/13 10:25 AM, John Colvin wrote:
>>
>>> Gordon, you may find this has better performance if you add () to sort.
>>
>> Also, can you share your data somewhere if it's not confidential?
>>
>
> It will be related to this research: http://www.familinx.org .
> The data is available in the "download" section as an SQL dump (which
> can be easily converted to just tabular files).
>
> I've also added verbose errors to "std.file.slurp()", which (IMHO)
> provide all the necessary information when an error occurs.
> Available here:
>   https://github.com/agordon/phobos/compare/file.slurp.verbose
>
> But this has lead me to detect some "formattedRead" quirks - I'll start
> a new thread about those.
>
> Thanks,
>   -gordon
>

Did you use D to convert that SQL dump to tabular data? If so, could you 
post the small snippet? If not did you convert the "relationship" table?

Kind Regards
Benjamin Thaut


More information about the Digitalmars-d mailing list