Skip to content

Ковалёв Константин#5

Open
ARBUZNIJ wants to merge 11 commits into
ValentinV95:mainfrom
ARBUZNIJ:main
Open

Ковалёв Константин#5
ARBUZNIJ wants to merge 11 commits into
ValentinV95:mainfrom
ARBUZNIJ:main

Conversation

@ARBUZNIJ

@ARBUZNIJ ARBUZNIJ commented May 2, 2024

Copy link
Copy Markdown

mentally prepared 4 yor criticism

@ARBUZNIJ

ARBUZNIJ commented May 2, 2024

Copy link
Copy Markdown
Author

@NeiroYT, @ZhestkovaAnastasia, @SosnovskayaUlyana мою работу можно проверять

Comment thread Arithmetic/arithmetic.cpp

@NeiroYT NeiroYT left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Написал замечания, только красно-черные деревья особо не проверял, так как углубляться не захотел

Comment thread include/Unordered_table.h
Comment thread include/Unordered_table.h Outdated
Comment thread Arithmetic/CMakeLists.txt
Comment thread Sample/CMakeLists.txt Outdated
Comment thread src/Sample.cpp
Comment thread include/RBT.h
}
};
Node* root;
TStack <Node*> way;

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Является ли хорошим подходом хранить "временный" стек (в основном используемый для работы функций) прям в классе? Как минимум с точки зрения распараллеливания это как-то неудобно

@ARBUZNIJ ARBUZNIJ May 4, 2024

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Какие альтернативы? Выделение (первое обращение к) памяти при необходимости в методе - долго.
А если TStack :: clear() реализовать как просто обнуление size, то перевыделений памяти не будет совсем.

Comment thread include/Unordered_table.h Outdated
Comment thread include/RBT.h
@ARBUZNIJ

ARBUZNIJ commented May 4, 2024

Copy link
Copy Markdown
Author

@ValentinV95 , моя работа готова к проверке

@ValentinV95 ValentinV95 left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Лабораторная принята

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants