Company overview
AlfaBit
Latest vacancy: No data
- Vacancies
- 0
- Interviews
- 1
- Questions
- 12
- Tasks
- 0
Published in the selected period
Vacancies · 0
No vacancies were found for the selected period.
Published records
Interviews · 1
Other direction
Interviews · 1
Grouped by direction
Questions and tasks · 12
Other direction
Questions · 10
GetFiles is an example of a function that needs optimization. func GetFiles(ctx context.Context, names ...string) (result map[string][]byte, err error) { if len(names) == 0 { return nil, nil } var wg sync.WaitGroup ctx, cancel := context.WithCancel(ctx) defer cancel() wg.Add(len(names)) result = make(map[string][]byte, len(names)) for _, name := range names { go func() { result[name], err = GetFile(ctx, name) if err != nil { return nil, err } }() } wg.Wait() return result, nil }
Project Manager
Questions · 2