A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Avoid memcpy while retrieving data from dynars (speed up)
[simgrid.git]
/
src
/
gras
/
DataDesc
/
cbps.c
diff --git
a/src/gras/DataDesc/cbps.c
b/src/gras/DataDesc/cbps.c
index
066fef5
..
a36c2eb
100644
(file)
--- a/
src/gras/DataDesc/cbps.c
+++ b/
src/gras/DataDesc/cbps.c
@@
-149,7
+149,7
@@
gras_cbps_v_pop (gras_cbps_t *ps,
while (l--) {
char *_name = NULL;
-
gras_dynar_get(frame, l, &_name
);
+
_name = gras_dynar_get_as(frame, l, char*
);
if (!strcmp(name, _name)) {
gras_dynar_remove_at(frame, l, &_name);
gras_free(_name);