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

StackSpace: use std::aligned_alloc() #907

Merged
merged 1 commit into from
May 28, 2024
Merged

Commits on May 28, 2024

  1. StackSpace: use std::aligned_alloc()

    Use `std::aligned_alloc()` (and `_aligned_malloc()` on MSVC)
    to allocate the memory for EVM stack.
    
    This removes unnecessary initialization of the memory to zero
    (closes #403).
    
    The memory alignment is set to 32 bytes (as previously)
    but allows transitioning to "over-aligned" allocation for additional
    optimization
    (see #781).
    chfast committed May 28, 2024
    Configuration menu
    Copy the full SHA
    6779073 View commit details
    Browse the repository at this point in the history