From 751d02fab3abfcec96b2aa337fb4f1db547a7ae4 Mon Sep 17 00:00:00 2001 From: Roberto Alsina Date: Thu, 16 May 2024 07:49:26 -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 61673e0..06330c7 100644 --- a/c-busqueda/handler.cr +++ b/c-busqueda/handler.cr @@ -205,7 +205,7 @@ class Handler datos = datos.find do |item| # How feminine is this name? # Yes this database is upper case - nombre = item[1].upcase + nombre = item[1].as_s.upcase puts "Checking #{nombre}" feminidad = 0 sql = %(