From 539c0839db98de011572501d79b2228c60469ed9 Mon Sep 17 00:00:00 2001 From: Roberto Alsina Date: Wed, 15 May 2024 20:50:05 -0300 Subject: [PATCH] Make split by gender faster --- c-busqueda/handler.cr | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/c-busqueda/handler.cr b/c-busqueda/handler.cr index af98a50..2d412c1 100644 --- a/c-busqueda/handler.cr +++ b/c-busqueda/handler.cr @@ -79,7 +79,7 @@ class Handler femeninos = Array(Tuple(Int32, String)).new masculinos = Array(Tuple(Int32, String)).new nombres.map { |nombre| - fem = feminidad(nombre[1]) + fem = feminidad(cursor, nombre[1]) # El overlap en 0.5 es intencional! if fem >= 0.5 femeninos << nombre