Update of /cvsroot/monetdb/MonetDB/src/gdk
In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv7451/src/gdk
Modified Files:
Tag: MonetDB_1-22
gdk_bbp.mx
Log Message:
added spaces such that Mx can(not) interprete @{ as hiding.
Index: gdk_bbp.mx
===================================================================
RCS file: /cvsroot/monetdb/MonetDB/src/gdk/gdk_bbp.mx,v
retrieving revision 1.208.2.2
retrieving revision 1.208.2.3
diff -u -d -r1.208.2.2 -r1.208.2.3
--- gdk_bbp.mx 5 Feb 2008 21:53:29 -0000 1.208.2.2
+++ gdk_bbp.mx 5 Feb 2008 22:00:32 -0000 1.208.2.3
@@ -2204,13 +2204,13 @@
and then benchmark the d*mn thing (also missing in the previous exercise) :
-module(alarm);
-bbp_batcache_minsize(wrd(256));
[EMAIL PROTECTED] var t := time(), i := 0; while((i :+= 1) < 100000)
bat(int,int); print(time() - t); @}
-[ 490 ]
-bbp_batcache_minsize(wrd(0));
[EMAIL PROTECTED] var t := time(), i := 0; while((i :+= 1) < 100000)
bat(int,int); print(time() - t); @}
-[ 847 ]
+ module(alarm);
+ bbp_batcache_minsize(wrd(256));
+ @{ var t := time(), i := 0; while((i :+= 1) < 100000) bat(int,int);
print(time() - t); @}
+ [ 490 ]
+ bbp_batcache_minsize(wrd(0));
+ @{ var t := time(), i := 0; while((i :+= 1) < 100000) bat(int,int);
print(time() - t); @}
+ [ 847 ]
so with caching *some* MIL programs can be nearly twice as fast (optimized
compile),
though I expect the gains to be smaller in general.
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Monetdb-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-checkins