Skip to content

first commit#1

Open
drerr0r wants to merge 1 commit intomainfrom
first-iteration
Open

first commit#1
drerr0r wants to merge 1 commit intomainfrom
first-iteration

Conversation

@drerr0r
Copy link
Copy Markdown
Owner

@drerr0r drerr0r commented Jun 18, 2025

No description provided.

Copy link
Copy Markdown

@ivannizh ivannizh left a comment

Choose a reason for hiding this comment

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

Константин, привет! Отличная работа, принято!

Я рад, что получилось разобраться с темой многопоточности. Желаю удачи на курсе!

Comment thread main.go
}

// Создаем каналы для передачи результатов
maxValues := make(chan int, runtime.NumCPU()) // Буферизованный канал
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

  1. Тут подошел бы и просто массив размером с количеством частей
  2. Вообще не понятно причем тут ядра, если кол-во чанков, то ок, понятно. Да и тут можно не буферизированным обойтись

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