From mboxrd@z Thu Jan 1 00:00:00 1970 From: wmorgan-sup@masanjin.net (William Morgan) Date: Tue, 01 Sep 2009 13:59:56 -0700 Subject: [sup-talk] [PATCH] add xapian-specific hack to quickly create a Person In-Reply-To: <1251250991-sup-3593@zyrg.net> References: <1250965695-31073-1-git-send-email-rlane@club.cc.cmu.edu> <1250967263-31292-1-git-send-email-rlane@club.cc.cmu.edu> <1251156216-sup-5563@masanjin.net> <1251250991-sup-3593@zyrg.net> Message-ID: <1251838745-sup-376@masanjin.net> Reformatted excerpts from Rich Lane's message of 2009-08-25: > The slow part is the processing in Person#initialize, which > QuickPerson overrides. You might also be able to avoid that by moving > the initialize() code into Person.from_address. Yeah, I think that's a better approach. There's no need for the constructor to do all that work. I'll work on this when I get a chance, or feel free to beat me to it. -- William