Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Why isn't fastfunc included in the results? #10

Open
Phantal opened this issue Apr 28, 2018 · 1 comment
Open

Why isn't fastfunc included in the results? #10

Phantal opened this issue Apr 28, 2018 · 1 comment

Comments

@Phantal
Copy link

Phantal commented Apr 28, 2018

No description provided.

@user706
Copy link
Contributor

user706 commented May 23, 2018

Two things worth mentioning, about ssvu::FastFunc
       from @SuperV1234.
       (PS: I wonder what Vittorio Romeo is planning with this: vrm::core::delegate.
       But I could not find examples and usage is not clear to me.)

ssvu::FastFunc does not work for all callables.

To include it, run cmake with this flag -DSSVU=ON
i.e.

git clone https://github.com/jamboree/CxxFunctionBenchmark.git         # there are updates now
cd                                    CxxFunctionBenchmark/
mkdir build/
cd    build/

# to include ssvu::FastFunc, cmake needs -DSSVU=ON
cmake -DSSVU=ON ..   # or if you want to use a custom boost:    cmake -DSSVU=ON  -DBOOST_ROOT=/path/to/boost ..
make -j4 VERBOSE=1
./various

It only runs function_pointer, lambda_capture and lambda.

ssvu::FastFunc can not handle the following 4 callables: ref

ssvu::FastFunc is buggy and will return wrong results in certain instances

See https://gist.github.com/SuperV1234/6462221#gistcomment-1612166

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants