Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Use homogeneous dicts which are more efficient.
[simgrid.git] / src / msg / msg_host.c
index 1903036..4dbe948 100644 (file)
@@ -357,7 +357,7 @@ xbt_dict_t MSG_host_get_storage_list(msg_host_t host)
 xbt_dict_t MSG_host_get_storage_content(msg_host_t host)
 {
   xbt_assert((host != NULL), "Invalid parameters");
 xbt_dict_t MSG_host_get_storage_content(msg_host_t host)
 {
   xbt_assert((host != NULL), "Invalid parameters");
-  xbt_dict_t contents = xbt_dict_new();
+  xbt_dict_t contents = xbt_dict_new_homogeneous(NULL);
   msg_storage_t storage;
   char* storage_name;
   char* mount_name;
   msg_storage_t storage;
   char* storage_name;
   char* mount_name;