-
This patch optimises the validation function by getting a list of known email addresses and usernames prior to entering the validation loop. Test runs with 2000 preexisting users using XHProf showed a reduction in execution time from 6.5 seconds to 3.8 seconds, with an increase in memory use of approximately 1.3MB. Change-Id: I099f1e3b7d459538b79b78afce271f582ec4a24c Signed-off-by: Nigel Cunningham <nigelc@catalyst-au.net>
e5a0f676