Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Rework xbt_dynar_three_way_partition.
authorArnaud Giersch <arnaud.giersch@iut-bm.univ-fcomte.fr>
Fri, 27 Apr 2012 10:03:57 +0000 (12:03 +0200)
committerArnaud Giersch <arnaud.giersch@iut-bm.univ-fcomte.fr>
Fri, 27 Apr 2012 10:37:18 +0000 (12:37 +0200)
commit93d79384e96e2b9e966371397e43ebb2ab065f1a
treecb8fb5cdf474c046063b451b61fa5bbfd2c56151
parent91a836853d1ea622ddb45ca1b746243b14e42634
Rework xbt_dynar_three_way_partition.

* use existing _xbt_dynar_elm() to retrieve elements;
* swap elements only when needed.
src/xbt/dynar.c