Author: wyoung
Date: Tue May 18 04:12:44 2010
New Revision: 2643

URL: http://svn.gna.org/viewcvs/mysqlpp?rev=2643&view=rev
Log:
Added quadratic equation for ssqls.h size

Modified:
    trunk/doc/userman/ssqls.dbx

Modified: trunk/doc/userman/ssqls.dbx
URL: 
http://svn.gna.org/viewcvs/mysqlpp/trunk/doc/userman/ssqls.dbx?rev=2643&r1=2642&r2=2643&view=diff
==============================================================================
--- trunk/doc/userman/ssqls.dbx (original)
+++ trunk/doc/userman/ssqls.dbx Tue May 18 04:12:44 2010
@@ -794,14 +794,22 @@
 
     <para>The first configurable value sets the maximum number of
     data members allowed in an SSQLS. It&rsquo;s 25 out of the box,
-    set by the <varname>$max_data_members</varname> variable at
-    the top of <filename>ssqls.pl</filename>. Beware, making this
-    value larger increases the size of <filename>ssqls.h</filename>
-    exponentially; this will increase compile time, and can even make
-    the file uncompilable due to compiler limits. Before you increase
-    this value, take a good, hard look at your database schema and ask
-    if it&rsquo;s really the best design.  Almost always, having so
-    many columns is a sign that you need to refactor the table.</para>
+    set by the <varname>$max_data_members</varname> variable at the
+    top of <filename>ssqls.pl</filename>. Beware, making this value
+    larger increases the size of <filename>ssqls.h</filename>
+    quadratically<footnote>
+      <para>
+        If you&rsquo;re curious:
+        <phrase role="math">
+          LOC = 18.5x<superscript>2</superscript> + 454.5x + 196.4
+        </phrase>
+      </para>
+    </footnote>; this will increase compile time, and can even
+    make the file uncompilable due to compiler limits. Before you
+    increase this value, take a good, hard look at your database schema
+    and ask if it&rsquo;s really the best design.  Almost always,
+    having so many columns is a sign that you need to refactor the
+    table.</para>
 
     <para>The second configurable is the default floating point
     precision used for comparison. As described above (<xref


_______________________________________________
Mysqlpp-commits mailing list
[email protected]
https://mail.gna.org/listinfo/mysqlpp-commits

Reply via email to