Conversation
|
Can you explain why you do this change? Deprecation of |
|
@afabri see the Edit in the description |
Can you please make a performance test, for example for surface mesh simplication. |
|
I used the test_edge_collapse_Polyhedron_3 with a 340 000 vertices (1919448 edges) chinese dragon, here are the results: |
That's good news!!! |
|
Quick question: Instead of modifying the code of various packages, would it be possible to update only the implementation of |
|
I don't know. It wouldn't be trivial, that's all I can say without trying. |
|
With an external view, that's a bit surprising. |
|
I guess what Sebastien want's to say that it is probably easy to use the fibonacci_heap as an implementation detail which can be de/activated with a |
|
I looked back at the diff, it seems easier than I thought. Theproblem is we need to embark the map and maintain it, where it is not always needed, so there will be a loss of performance in Edge_collapse. |
Polyline_simplification_2/test/Polyline_simplification_2/simplify_polygon_test.cpp
Show resolved
Hide resolved
|
My guess is that the use in polyline simplification was not optimal as those type of heaps are bad for contains query. In mesh simplification, the handle are already stored by the algo. So maybe the implementation of polyline simplification should be updated. |
796a854 to
f2c8cc8
Compare
f2c8cc8 to
796a854
Compare
|
What are the total times of the executables? How often are they executed? |
|
You can check the code of the test to find that out. |
If they exist, they are not documented :/ |
|
The map management is too costly, even with abseil's flat_hash_map. |
@sloriot I think we decided that this PR was not to be integrated, because the benchmarks were really bad. Should we close that PR ? |
|
@maxGimeno can you check if the new function |
|
@afabri meant using |
|
so IIUC, the task is to design a heap based on a c++17 |
|
Something like that, maybe hidden behind a |
879f8d9 to
a6cc0a0
Compare
a6cc0a0 to
2174af9
Compare
|
Here I tried an implementation based on a cxx17 set, using the function |
|
Replaced by #6155 |
Summary of Changes
Replace the use of Modifiable_priority_queue with Boost::heap::fibonacci_queue.
EDIT: The reason is that Modifiable_priority_queue is an undocumented header that we want to avoid now that Boost provides a reliable replacement for it.
Release Management