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

최적화 - MemoryPool_v2/MemoryPool_v2.cpp #3

Open
lastpenguin opened this issue Feb 11, 2022 · 0 comments
Open

최적화 - MemoryPool_v2/MemoryPool_v2.cpp #3

lastpenguin opened this issue Feb 11, 2022 · 0 comments

Comments

@lastpenguin
Copy link
Owner

다음의 함수를 수정해야함
DECLSPEC_NOINLINE size_t gFN_Get_Basket__CacheMiss(TMemoryPool_TLS_CACHE& tls, size_t code)

    #if _DEF_USING_MEMORYPOOL_DEBUG
        do{
            if(refArrayProcessorCode[Key] == code)
                break;
        } while(++Key < GLOBAL::g_nProcessor);
    #else
        // 일치하는 코드는 무조건 존재함
        while(refArrayProcessorCode[Key] != code)
            Key++;
    #endif
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

1 participant