From 7a03ab346633b3e0dc0bcdaf55fae9c0480033c6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=A6Ltorio?= Date: Sun, 3 Nov 2024 18:53:13 +0100 Subject: [PATCH] performance improvement --- .../src/components/GeneratorCard.vue | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/username_generator/src/components/GeneratorCard.vue b/username_generator/src/components/GeneratorCard.vue index 0d61ae6..bde9c83 100644 --- a/username_generator/src/components/GeneratorCard.vue +++ b/username_generator/src/components/GeneratorCard.vue @@ -9,9 +9,9 @@
+ @click="firstName = normalize(randomFirstnamePonderated(firstNames,preComputedTotalFirstnames))">Change first name + @click="lastName = normalize(randomLastnamePonderated(lastNames,preComputedTotalLastnames))">Change last name
@@ -20,14 +20,20 @@