Skip to content

Commit

Permalink
debug code cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
SergeyMakeev committed Oct 5, 2023
1 parent 06e35e0 commit 5801413
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions SmMalloc/smmalloc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -222,15 +222,6 @@ inline int GetNextPow2(uint32_t n)

void Allocator::Init(uint32_t _bucketsCount, size_t _bucketSizeInBytes)
{
for (size_t bucketIdx = 0; bucketIdx < 64; bucketIdx++)
{
printf("%zu->%zu,", bucketIdx, sm::getBucketSizeInBytesByIndex(bucketIdx));
//printf("[%zu] = %d bytes\n", bucketIdx, SmallFloat::floatToUint(uint32_t(bucketIdx)));


}


if (bucketsCount > 0)
{
// already initialized
Expand Down

0 comments on commit 5801413

Please sign in to comment.