From: Date: June 12 2008 3:13pm Subject: Re: Stored Procedures in C++? (and direct access to storage engine API) List-Archive: http://lists.mysql.com/internals/35689 Message-Id: <20080612131320.GA8352@janus.mylan> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Hi! On Jun 12, Brian Aker wrote: > Hi! > > One thing to know about UDF's is that the last benchmark I saw hey are > about 3X lower then a normal function. If you find that you need better > performance, just add an item function to the database directly. Only on OSX. We've verified that on the UC - same function compiled on OXS (Mark, Brian) was few times slower than a built-in function. On Linux (my laptop with Gentoo) there was no noticeable difference. Regards / Mit vielen Grüssen, Sergei -- __ ___ ___ ____ __ / |/ /_ __/ __/ __ \/ / Sergei Golubchik / /|_/ / // /\ \/ /_/ / /__ Principal Software Engineer/Server Architect /_/ /_/\_, /___/\___\_\___/ Sun Microsystems GmbH, HRB München 161028 <___/ Sonnenallee 1, 85551 Kirchheim-Heimstetten Geschäftsführer: Thomas Schroeder, Wolfgang Engels, Dr. Roland Boemer Vorsitzender des Aufsichtsrates: Martin Häring