<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ydb/library/cpp/cache/thread_safe_cache.h, branch CLI_2.25.0</title>
<subtitle>Mirror of YDB github repos</subtitle>
<id>https://code.mastervirt.ru/ydb/atom?h=CLI_2.25.0</id>
<link rel='self' href='https://code.mastervirt.ru/ydb/atom?h=CLI_2.25.0'/>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/'/>
<updated>2024-10-17T04:38:47Z</updated>
<entry>
<title>remove unused includes in util/generic/string.h</title>
<updated>2024-10-17T04:38:47Z</updated>
<author>
<name>tobo</name>
<email>tobo@yandex-team.com</email>
</author>
<published>2024-10-17T04:21:27Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=fe7dabb9c4f211cb4ba4884d0c323e77873800c3'/>
<id>urn:sha1:fe7dabb9c4f211cb4ba4884d0c323e77873800c3</id>
<content type='text'>
commit_hash:edd5ed00db3a4c6090c535fa406f184268188733
</content>
</entry>
<entry>
<title>add GetOrNull method to threadsafe cache</title>
<updated>2024-06-06T13:32:57Z</updated>
<author>
<name>ivanmautin</name>
<email>ivanmautin@yandex-team.com</email>
</author>
<published>2024-06-06T13:16:48Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=7e1624f2fd672349e2f89baffeca12ef8272ec8d'/>
<id>urn:sha1:7e1624f2fd672349e2f89baffeca12ef8272ec8d</id>
<content type='text'>
2c3ce3e36d35b563fe21b581380310ac84007f57
</content>
</entry>
<entry>
<title>add TThreadSafeLRUCacheWithSizeProvider wrapper</title>
<updated>2024-06-06T07:07:42Z</updated>
<author>
<name>ivanmautin</name>
<email>ivanmautin@yandex-team.com</email>
</author>
<published>2024-06-06T06:57:03Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=3babd5b1391836f4f4fdb3add9064a59707f9f7d'/>
<id>urn:sha1:3babd5b1391836f4f4fdb3add9064a59707f9f7d</id>
<content type='text'>
На данный момент никак нельзя создать thread-safe кэш с произвольным SizeProvider, из-за того, что это не позволяет сделать шаблон `TThreadSafeCache`, при этом отредактировтаь его тоже не удастся, так как для этого нужно передать дополнительный параметр `typename TSizeProvider`, что сломает обратную совместимость, так как шаблон принимает далее переменное число аргументов (см. [TThreadSafeCache](https://a.yandex-team.ru/arcadia/library/cpp/cache/thread_safe_cache.h?rev=rXXXXXX#L15))
В связи с этим добавлен еще один хелпер, для создания LRUCache с TSizeProvider
293511a33b45f23d8afc9ff217a817481401932c
</content>
</entry>
<entry>
<title>Add TotalSize and Size methods</title>
<updated>2024-05-06T08:45:11Z</updated>
<author>
<name>ivanmautin</name>
<email>ivanmautin@yandex-team.com</email>
</author>
<published>2024-05-06T08:33:58Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=db9340f74578f02054d56b136a9faccfe7e29eb4'/>
<id>urn:sha1:db9340f74578f02054d56b136a9faccfe7e29eb4</id>
<content type='text'>
Раньше метод GetTotalSize() был только в TLRUList, хотя TSizeProvider присутствовал также в TLRUList
Добавил GetTotalSize() во все листы (в том числе TLWList), а также метод GetSize(), который возвращает текущее количество

Также добавил эти методы в сами TCache и TThreadSafeCache
c103617d7259841e1c273cadd8dbf0bb019e52dc
</content>
</entry>
<entry>
<title>Restoring authorship annotation for &lt;desertfury@yandex-team.ru&gt;. Commit 2 of 2.</title>
<updated>2022-02-10T13:50:15Z</updated>
<author>
<name>desertfury</name>
<email>desertfury@yandex-team.ru</email>
</author>
<published>2022-02-10T13:50:15Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=c0fb261e6889e12b418ebcdfdb3c990a4b39fd75'/>
<id>urn:sha1:c0fb261e6889e12b418ebcdfdb3c990a4b39fd75</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Restoring authorship annotation for &lt;desertfury@yandex-team.ru&gt;. Commit 1 of 2.</title>
<updated>2022-02-10T13:50:15Z</updated>
<author>
<name>desertfury</name>
<email>desertfury@yandex-team.ru</email>
</author>
<published>2022-02-10T13:50:15Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=ba92f2f3d8a0cfa549b668980b868cbb6ff080ce'/>
<id>urn:sha1:ba92f2f3d8a0cfa549b668980b868cbb6ff080ce</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Restoring authorship annotation for &lt;grmammaev@yandex-team.ru&gt;. Commit 2 of 2.</title>
<updated>2022-02-10T13:50:15Z</updated>
<author>
<name>grmammaev</name>
<email>grmammaev@yandex-team.ru</email>
</author>
<published>2022-02-10T13:50:15Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=3d636b3ac8d1e635bba5c5007da7a6d81f2c17f4'/>
<id>urn:sha1:3d636b3ac8d1e635bba5c5007da7a6d81f2c17f4</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Restoring authorship annotation for &lt;grmammaev@yandex-team.ru&gt;. Commit 1 of 2.</title>
<updated>2022-02-10T13:50:15Z</updated>
<author>
<name>grmammaev</name>
<email>grmammaev@yandex-team.ru</email>
</author>
<published>2022-02-10T13:50:15Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=648ad4dca7675cb9f970491c5df0e86aaefd5c3e'/>
<id>urn:sha1:648ad4dca7675cb9f970491c5df0e86aaefd5c3e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Restoring authorship annotation for &lt;heios@yandex-team.ru&gt;. Commit 2 of 2.</title>
<updated>2022-02-10T13:50:15Z</updated>
<author>
<name>heios</name>
<email>heios@yandex-team.ru</email>
</author>
<published>2022-02-10T13:50:15Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=58861ee1428f6e29c13edd982e662c38dd44c105'/>
<id>urn:sha1:58861ee1428f6e29c13edd982e662c38dd44c105</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Restoring authorship annotation for &lt;heios@yandex-team.ru&gt;. Commit 1 of 2.</title>
<updated>2022-02-10T13:50:15Z</updated>
<author>
<name>heios</name>
<email>heios@yandex-team.ru</email>
</author>
<published>2022-02-10T13:50:15Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/ydb/commit/?id=e0ff5d1ed8ec4db4bba3153fc3c3acb85052ada9'/>
<id>urn:sha1:e0ff5d1ed8ec4db4bba3153fc3c3acb85052ada9</id>
<content type='text'>
</content>
</entry>
</feed>
