К содержанию
РецензированоEN2023

Fast Python

Tiago Rodrigues Antão

Учебная литература · 2023

Аннотация

A few years ago, a Python-based pipeline that my team was working on suddenly ground to a halt. A process just kept using CPU and was not finalizing. This function was critical to the company and we needed to solve the problem sooner rather than later. We looked at the algorithm and it seemed OK—in fact, it was quite a simple implementation. After many hours with several engineers looking at the problem, we found that it all boiled down to searching on a list—a very big list. The problem was trivially solved after converting the list into a set. We ended up with a much smaller data structure with search times in milliseconds, not hours.

Доказательный фрагмент

«A few years ago, a Python-based pipeline that my team was working on suddenly ground to a halt.»

Образец извлечения

Демо-превью

A few years ago, a Python-based pipeline that my team was working on suddenly ground to a halt. Полный текст публикации CiteX не хранит — доступ к первоисточнику открывается по DOI согласно лицензии издателя и выбранному плану.

DOI не указан
Цитирований
0
Тип
Журнал
Страна
Узбекистан
Спросить CiteX об этой работе

Смежные источники