Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Рефакторинг] Identity и DECL_STRING_INFO_DIC #1347

Open
pavel-pimenov opened this issue Aug 25, 2015 · 3 comments
Open

[Рефакторинг] Identity и DECL_STRING_INFO_DIC #1347

pavel-pimenov opened this issue Aug 25, 2015 · 3 comments

Comments

@pavel-pimenov
Copy link
Owner

From Pavel.Pimenov@gmail.com on September 23, 2013 12:01:09

Зачем через макрос создается несколько статических массивов?
я ведь изначально проброс данных через справочник делал не так.

Код в Identity читается очень тяжело :( - вечером выкинуть лишний мусор

Original issue: http://code.google.com/p/flylinkdc/issues/detail?id=1310

@pavel-pimenov
Copy link
Owner Author

From a.rain...@gmail.com on September 24, 2013 04:00:21

Стоп, а какие лишние массивы то?
там вектор с ссылками, и мапа со строками, всё - два объекта.

@pavel-pimenov
Copy link
Owner Author

From Pavel.Pimenov@gmail.com on September 24, 2013 04:03:05

Если я захочу еше одно значение прокинуть через справочники что будет?
еще одна пара объектов?

@pavel-pimenov
Copy link
Owner Author

From Pavel.Pimenov@gmail.com on September 24, 2013 11:45:14

Вот например кандидат на справочник - LC - маленькое кол-во уникальных значений.
set[LCru-ru] 'ru-ru' count = 1 sizeof(_this) = 140
set[LCru-RU] 'ru-RU' count = 3 sizeof(_this) = 140
set[LCru-ru] 'ru-ru' count = 2 sizeof(_this) = 140
set[LCsv-SE] 'sv-SE' count = 1 sizeof(_this) = 140
set[LCru-RU] 'ru-RU' count = 9 sizeof(_this) = 140
set[LCru-RU] 'ru-RU' count = 10 sizeof(_this) = 140
set[LCru-ru] 'ru-ru' count = 5 sizeof(*this) = 140

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant