Skip to content

최적화 - MemoryPool_v2/MemoryPool_v2.cpp #3

@lastpenguin

Description

@lastpenguin

다음의 함수를 수정해야함
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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions