summaryrefslogtreecommitdiffstats
path: root/library/cpp/yson/node/node_visitor.cpp
Commit message (Collapse)AuthorAgeFilesLines
* remove unused includetobo2024-08-131-1/+0
| | | | 637fa63ff4633dd45416c48e111f38493cc00cf0
* Y_FAIL->Y_ABORT at '^li'ilnurkh2023-10-171-1/+1
| | | | https://clubs.at.yandex-team.ru/arcadia/29404
* Avoid unnecessary copies when visiting yson graphzhizhin2022-08-231-2/+2
| | | | | | | | | | | | | | | | | | | | | | | При вызове лямбды происходит деаллокация большого числа TNode. Они деаллоцируются внутри лямбд так как лямбды принимают `const std::pair<TString, TNode>&`, а `THashMap` итерирует по `const std::pair<const TString, TNode>&` Меняю явный тип на `const auto&`. Предыстория: После перехода на TC Malloc начали в сервере ловить странные кордампы при десериализации YSON в строку. Пример дампа: https://coredumps.n.yandex-team.ru/core_trace?core_id=47595674 Вот как вызывали: https://a.yandex-team.ru/arcadia/voicetech/library/asr_logs/message_logger.cpp?rev=rXXXXXX#L161 Вычитка кода показала, что переменная EngineInfo всегда валидная (ссылка на константную глобальную переменную, которая жива всегда во время работы программы). В кордампе заметили деаллокации внутри этих лямбд и поняли, что происходят ненужные копирования. Предполагаем, что деаллокации внутри YSON могут быть причиной кордампов.
* Restoring authorship annotation for <[email protected]>. Commit 2 of 2.ermolovd2022-02-101-25/+25
|
* Restoring authorship annotation for <[email protected]>. Commit 1 of 2.ermolovd2022-02-101-25/+25
|
* Restoring authorship annotation for <[email protected]>. Commit 2 of 2.levysotsky2022-02-101-36/+36
|
* Restoring authorship annotation for <[email protected]>. Commit 1 of 2.levysotsky2022-02-101-36/+36
|
* Restoring authorship annotation for <[email protected]>. Commit 2 of 2.monster2022-02-101-89/+89
|
* Restoring authorship annotation for <[email protected]>. Commit 1 of 2.monster2022-02-101-89/+89
|
* Restoring authorship annotation for Vlad Yaroslavlev <[email protected]>. ↵Vlad Yaroslavlev2022-02-101-2/+2
| | | | Commit 2 of 2.
* Restoring authorship annotation for Vlad Yaroslavlev <[email protected]>. ↵Vlad Yaroslavlev2022-02-101-2/+2
| | | | Commit 1 of 2.
* intermediate changesDevtools Arcadia2022-02-071-0/+152
ref:cde9a383711a11544ce7e107a78147fb96cc4029