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

eve::map and callable behavior rework #2013

Draft
wants to merge 14 commits into
base: main
Choose a base branch
from
Draft

eve::map and callable behavior rework #2013

wants to merge 14 commits into from

Conversation

SadiinsoSnowfall
Copy link
Collaborator

@DenisYaroshevskiy let me know what you think

Copy link
Collaborator

@DenisYaroshevskiy DenisYaroshevskiy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm a bit confused to what's happening. FOr some reason a lot of changes to macros mixed in with some map stuff. Why?

include/eve/arch/cpu/wide.hpp Outdated Show resolved Hide resolved
include/eve/arch/cpu/logical_wide.hpp Outdated Show resolved Hide resolved
include/eve/detail/apply_over.hpp Show resolved Hide resolved
include/eve/detail/apply_over.hpp Outdated Show resolved Hide resolved
include/eve/detail/function/simd/arm/neon/friends.hpp Outdated Show resolved Hide resolved
@DenisYaroshevskiy
Copy link
Collaborator

It is even more files. Github fails to load 650 file diff for me. Please split it up. I believe a lot of changes are independendent.

@SadiinsoSnowfall SadiinsoSnowfall marked this pull request as draft November 22, 2024 11:08
@SadiinsoSnowfall SadiinsoSnowfall marked this pull request as ready for review November 23, 2024 12:15
EVE_FORCEINLINE constexpr T operator()(T v) const noexcept
{
return this->behavior(as<T>{}, eve::current_api, this->options(), v);
}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd argue that a _callable should deal with passing as<T> to map.
Asking all of the callers to care about it is a bit extreme.

That means that we might need some new _callable - but we can deal with that.

If the numbers confirm the perf win, I believe we should do it that way.

@SadiinsoSnowfall SadiinsoSnowfall marked this pull request as draft December 2, 2024 10:41
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

Successfully merging this pull request may close these issues.

3 participants