Make split by gender faster
This commit is contained in:
parent
cb9a24f4aa
commit
539c0839db
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user