mirror of https://github.com/PCSX2/pcsx2.git
VIF: Reduce alignment of empty hash buckets
They'll never be in hot codepaths (since they're empty) and memalign with 64-byte alignment is noticeably slower than 16-byte alignment
This commit is contained in:
parent
ee451fe345
commit
314c840293
|
@ -137,7 +137,7 @@ public:
|
|||
// Allocate an empty cell for all buckets
|
||||
for (auto& bucket : m_bucket)
|
||||
{
|
||||
if ((bucket = (nVifBlock*)_aligned_malloc(sizeof(nVifBlock), 64)) == nullptr)
|
||||
if ((bucket = (nVifBlock*)_aligned_malloc(sizeof(nVifBlock), 16)) == nullptr)
|
||||
{
|
||||
pxFailRel("Failed to allocate HashBucket Chain on reset");
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue