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

refactor: antag checking optimization #4521

Merged
merged 2 commits into from
Mar 3, 2024

Conversation

Vladisvell
Copy link
Collaborator

@Vladisvell Vladisvell commented Feb 29, 2024

Описание

Оптимизация прока isvampire (снижение MTPC в примерно 60 раз с 122.05 микросекунд до 2.61 микросекунды)
Также оптимизированы проки проверки на определенных антагонистов, из кода убран has_variable()

До
изображение
После
изображение

@Vladisvell Vladisvell changed the title refactor: isvampire optimization refactor: antag checking optimization Feb 29, 2024
@Dimach Dimach merged commit da95cf9 into ss220-space:master220 Mar 3, 2024
10 checks passed
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