Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Use pointer arithmetic for accessing to dynar elements.
authorArnaud Giersch <arnaud.giersch@iut-bm.univ-fcomte.fr>
Wed, 18 Apr 2012 15:39:39 +0000 (17:39 +0200)
committerArnaud Giersch <arnaud.giersch@iut-bm.univ-fcomte.fr>
Fri, 20 Apr 2012 07:25:19 +0000 (09:25 +0200)
commit49e717ce62a05692fc037261e131f78ba52adff2
tree284445ef801855807578eb21a175b30679fb794f
parent362df7ae97f29c6ec84ffd20d9f4643ba11d8284
Use pointer arithmetic for accessing to dynar elements.

It is more efficient than the xbt_dynar_get_* functions.
Assumes that dynar's contents is contiguous.
src/xbt/xbt_str.c