------ Message d'origine ------
De : "Steven Ross"
I've added such an example to the develop branch that handles signed ints, signed floats, and multiple string keys all together: https://github.com/spreadsort/sort/blob/develop/example/generalizedstruct.cp... And will mention it in the docs. Surprisingly, considering all the complexity of its get_char function, it's about 50% faster than std::sort on random data formatted like this. Below are the comparison and get_char functions for you to see. Comparison sorting is definitely easier, but hybrid-radix sorting is feasible and surprisingly efficient even for harder-to-represent cases:
struct DATA_TYPE { time_t birth; float net_worth; string first_name; string last_name; };
Great, this is exactly the kind of more complex example one needs. Regards, Étienne
This message and any attachments are confidential and intended solely for the addressees. Any unauthorized modification, edition, use or dissemination is prohibited. If you have received this message by mistake, please notify us immediately. ATEME decline all responsibility for this message if it has been altered, deformed, falsified or even edited or disseminated without authorization.