diff options
author | atarasov5 <atarasov5@yandex-team.com> | 2025-03-31 17:24:12 +0300 |
---|---|---|
committer | atarasov5 <atarasov5@yandex-team.com> | 2025-03-31 17:45:48 +0300 |
commit | a3a494d48c4b3d4f66cb235a7cc3e97f347f12f3 (patch) | |
tree | 5aebbad9c5aaf2aad69cd7cc1b1bd36e5c186833 | |
parent | 6b74e5fc302c8ed5e0402c361142cb26017ffbb4 (diff) | |
download | ydb-a3a494d48c4b3d4f66cb235a7cc3e97f347f12f3.tar.gz |
YQL-19767: Remove unused functions
commit_hash:2295c0b72da4232054ac2f68d8709171f7e36181
-rw-r--r-- | yql/essentials/minikql/mkql_alloc.h | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/yql/essentials/minikql/mkql_alloc.h b/yql/essentials/minikql/mkql_alloc.h index 323a8c1c20..4bf567ca8f 100644 --- a/yql/essentials/minikql/mkql_alloc.h +++ b/yql/essentials/minikql/mkql_alloc.h @@ -82,27 +82,6 @@ struct TAllocState : public TAlignedPagePool #endif bool SupportsSizedAllocators = false; - void* LargeAlloc(size_t size) { -#if defined(ALLOW_DEFAULT_ALLOCATOR) - if (Y_UNLIKELY(IsDefaultAllocatorUsed())) { - return malloc(size); - } -#endif - - return Alloc(size); - } - - void LargeFree(void* ptr, size_t size) noexcept { -#if defined(ALLOW_DEFAULT_ALLOCATOR) - if (Y_UNLIKELY(IsDefaultAllocatorUsed())) { - free(ptr); - return; - } -#endif - - Free(ptr, size); - } - using TCurrentPages = std::array<TAllocPageHeader*, (TMemorySubPoolIdx)EMemorySubPool::Count>; static TAllocPageHeader EmptyPageHeader; |