mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-10 04:22:20 +02:00
Optimizations, switching CanImplicitlyCast method, new CPU rate checker
This commit is contained in:
parent
39fd8d2624
commit
098ad1ce55
25 changed files with 759 additions and 301 deletions
|
@ -639,7 +639,7 @@ public:
|
|||
this->mSize++;
|
||||
}
|
||||
|
||||
void Insert(intptr idx, T* vals, intptr size)
|
||||
void Insert(intptr idx, const T* vals, intptr size)
|
||||
{
|
||||
BF_ASSERT((uintptr)idx <= (uintptr)this->mSize);
|
||||
if (this->mSize + size > this->mAllocSize)
|
||||
|
@ -934,7 +934,7 @@ public:
|
|||
this->mSize++;
|
||||
}
|
||||
|
||||
void Insert(intptr idx, T* vals, intptr size)
|
||||
void Insert(intptr idx, const T* vals, intptr size)
|
||||
{
|
||||
BF_ASSERT((uintptr)idx <= (uintptr)this->mSize);
|
||||
if (this->mSize + size > this->mAllocSize)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue