Skip to content

Hw 2#4

Open
VSidhArt wants to merge 5 commits intospajic:masterfrom
VSidhArt:hw_2
Open

Hw 2#4
VSidhArt wants to merge 5 commits intospajic:masterfrom
VSidhArt:hw_2

Conversation

@VSidhArt
Copy link

No description provided.

Copy link
Owner

@spajic spajic left a comment

Choose a reason for hiding this comment

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

Аппрув 👍

@@ -0,0 +1,13 @@
require "rake/testtask"
Copy link
Owner

Choose a reason for hiding this comment

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

Интересно, первое использование rake среди сданных заданий.

О вашей находке №1
### Method Array.select занимает ~ 83% wall_time
Измерения: ruby-prof, режим walltime, FlatPrinter
Вывод: неопитмальный выбор типа данных
Copy link
Owner

Choose a reason for hiding this comment

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

Скорее структуры данных

*Какими ещё результами можете поделиться*
Удалось улучшить метрику системы файл data_large обрабатывается за 27сек, сложность возрастает
линейно, пиковое потребление памяти сниженно в 2 раза, скорость выполнения программы выросла ~ 15
раз, потреблемая память снизилась ~ 4 раза
Copy link
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.

2 participants