TempAlloc.malloc

Same as malloc() but uses stateCopy cached on stack by caller * to avoid a thread-local storage lookup. Strictly a speed hack.

  1. void* malloc(size_t nbytes)
  2. void* malloc(size_t nbytes, State stateCopy)
    struct TempAlloc
    static nothrow
    void*
    malloc
    (
    size_t nbytes
    ,
    State stateCopy
    )

Meta