Issue1094

Title Get rid of ext/optional
Priority wish Status resolved
Superseder Nosy List florian, jendrik, malte, silvan
Assigned To florian Keywords
Optional summary
PR: https://github.com/aibasel/downward/pull/161

Created on 2023-07-24.19:55:29 by florian, last changed by florian.

Summary
PR: https://github.com/aibasel/downward/pull/161
Messages
msg11194 (view) Author: florian Date: 2023-07-26.09:16:54
Merged, thanks.
msg11193 (view) Author: malte Date: 2023-07-26.08:06:33
Thanks! Indeed, looks good to merge.
msg11186 (view) Author: florian Date: 2023-07-25.15:56:35
I handled the comment. I think this is ready to merge then.
msg11176 (view) Author: malte Date: 2023-07-25.10:09:12
Thanks! For the record, I don't think an issue like this needs a grid experiment. I left a comment with the pull request for a possible further simplification.
msg11173 (view) Author: florian Date: 2023-07-25.02:06:28
The experiments ran and look OK to me. Overall coverage drops by 1 and there are 6 more timeouts (5 fewer memouts), but time and memory do not change by much in any of the domains. The worst losses of time score are openstacks-opt11 (-0.0167) and sokoban-opt11 (-0.0125) and the distribution of time score changes does not look systematic to me(31 domains where the scores improve vs. 24 where they decrease). Times of the new code are within 10% of the old code and larger outliers are only in tasks that take less then 0.1 seconds. 


https://ai.dmi.unibas.ch/_visualizer/?xattribute=total_time&yattribute=total_time&properties_file=https%3A%2F%2Fai.dmi.unibas.ch%2F_experiments%2Fai%2Fdownward%2Fissue1094%2Fdata%2Fissue1094-v1-eval%2Fproperties.tar.xz&entries_list=3f69b110c-astar-blind+73fa3a5e1-astar-blind+astar&y_range=%5B0.4819535182606834%2C+11.0%5D&x_range=%5B0.009000000000000001%2C+1100.0%5D&entries_selection_mode=explicit&relative=true

https://ai.dmi.unibas.ch/_experiments/ai/downward/issue1094/data/issue1094-v1-eval/
msg11172 (view) Author: florian Date: 2023-07-24.23:00:37
I set up a pull request for this. While removing traces of ext, I also found left-over references to tree.hh and a part of misc/style/run-clang-tidy.py that used C++ 11 instead of 20. I tried clang-tidy locally after switching to 20 and it worked.
msg11170 (view) Author: florian Date: 2023-07-24.19:56:38
Do we want experiments for this? How about astar(blind()) just to confirm there is no large performance impact?
msg11169 (view) Author: florian Date: 2023-07-24.19:55:29
We currently have one file left in src/search/ext which is a backport of  std::optional<T>. Now that we use C++ 20, it should be easily possible to replace the single remaining use of the backport by the real deal. This would then allow us to get rid of ext and simplify the CMake setup slightly.
History
Date User Action Args
2023-07-26 09:16:55floriansetstatus: chatting -> resolved
messages: + msg11194
2023-07-26 08:06:33maltesetmessages: + msg11193
2023-07-25 15:56:35floriansetmessages: + msg11186
2023-07-25 10:09:12maltesetmessages: + msg11176
2023-07-25 02:06:28floriansetmessages: + msg11173
2023-07-24 23:00:37floriansetmessages: + msg11172
summary: PR: https://github.com/aibasel/downward/pull/161
2023-07-24 19:56:38floriansetstatus: unread -> chatting
messages: + msg11170
2023-07-24 19:55:29floriancreate