From 0e3870a6fa3bb02d0b8b7fd6ab30b0eb2dfe78db Mon Sep 17 00:00:00 2001 From: Roberto Alsina Date: Thu, 16 May 2024 07:46:39 -0300 Subject: [PATCH] Make split by gender faster --- c-busqueda/handler.cr | 1 + 1 file changed, 1 insertion(+) diff --git a/c-busqueda/handler.cr b/c-busqueda/handler.cr index 3597728..61673e0 100644 --- a/c-busqueda/handler.cr +++ b/c-busqueda/handler.cr @@ -206,6 +206,7 @@ class Handler # How feminine is this name? # Yes this database is upper case nombre = item[1].upcase + puts "Checking #{nombre}" feminidad = 0 sql = %( SELECT COALESCE((SELECT frecuencia FROM mujeres WHERE nombre='#{nombre}'), 0) AS mujeres,