Revision: 54505
http://brlcad.svn.sourceforge.net/brlcad/?rev=54505&view=rev
Author: r_weiss
Date: 2013-02-27 20:45:00 +0000 (Wed, 27 Feb 2013)
Log Message:
-----------
Increased size of librt db hash table. Improves performance of some operations
when the model has a large number of objects (ie > 40k).
Modified Paths:
--------------
brlcad/trunk/include/raytrace.h
Modified: brlcad/trunk/include/raytrace.h
===================================================================
--- brlcad/trunk/include/raytrace.h 2013-02-27 20:05:51 UTC (rev 54504)
+++ brlcad/trunk/include/raytrace.h 2013-02-27 20:45:00 UTC (rev 54505)
@@ -775,7 +775,7 @@
* The directory is organized as forward linked lists hanging off of
* one of RT_DBNHASH headers in the db_i structure.
*/
-#define RT_DBNHASH 1024 /**< @brief size of hash table
*/
+#define RT_DBNHASH 5120 /**< @brief size of hash table
*/
#if ((RT_DBNHASH)&((RT_DBNHASH)-1)) != 0
#define RT_DBHASH(sum) ((size_t)(sum) % (RT_DBNHASH))
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits