-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
Recently I'm working on implementing FPS algorithms in single-thread CPU program.
This work shows an excellent performance compared to the majority of other implementations.
However, I inspect all of the codes and notice that the code style is terrible. It's generally hard to port the code to other applications directly. For example:
- Hard-coded
floattype for coordinates. - Hard-coded dimension as 3.
- Abuse of macros.
- Not found any of C++17 features, even though the paper has mentioned that C++17 is used.
I have revised most of the codes with C++17 Standard to my Python Package fpsample with several benchmarks. I think my revised code in https://github.com/leonardodalinky/fpsample/tree/main/src/bucket_fps/_ext may help to refactor.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels