Hello Cyphre, Wednesday, December 17, 2003, 6:40:03 PM, you wrote:
C> Hi, C> I just had a quick look at C> http://www.garret.ru/~knizhnik/dybase/doc/dybase.html#comparison . Is Rebol C> really so slow or it is because the ported code isn't optimized to the C> language yet? Compare the following results: Rebol: 18 seconds h: make hash! [] start: now/time n: 100000 for i 1 n 1 [ append h i ] print ["Elapsed time for" n "records" (now/time - start)] ----------------------- Python: 0.37 seconds import time d = {} start = time.time() for i in range(0,100000): d[i] = i print 'Elapsed time: ', time.time() - start, ' seconds' -------------------- PHP: 1 seconds (rounded) <?php $start = time(); $arr = array(); for ($i = 0; $i < 10000; $i++) { $arr[$i] = $i; } print("Elapsed time: " . (time() - $start) . " seconds\n"); ?> C> regards C> Cyphre C> ----- Original Message ----- C> From: "Konstantin Knizhnik" <[EMAIL PROTECTED]> C> To: <[EMAIL PROTECTED]> C> Sent: Wednesday, December 17, 2003 12:15 PM C> Subject: [REBOL] Rebol API to DyBASE >> >> Hello all, >> >> First version of Rebol API to my object-oriented database DyBASE is >> ready. It can be downloaded from my site: >> http://www.garret.ru/~knizhnik/dybase.html >> >> DyBASE is embedded object oriented database for languages with dynamic >> type checking. Rebol is fourth language for which DyBASE API is >> provided. Data in database is stored in language independent format, >> so (with some exceptions) data written by Python application can be >> accessed by Rebol application (and visa versa). >> >> Please read Rebol section in DyBYSE manual to get more information of >> about specific of Rebol interface to DyBASE. >> >> To use DyBASE at Windows in your Rebol application you need to include in C> PATH >> two libraries: DyBASE core dybasedll.dll (which is located in dybase\lib >> directory) and Rebol wrapper - dybaseapi.dll (located in dybase\rebol >> directory). At Unix you should first build these libraries. Use >> makefile in dybase/src and dybase/rebol directories. >> Then just load "dybase.r" module. >> >> Please look also at examples: >> dybase/rebol/guess.r - game: "guess an animal" >> dybase/rebol/testindex.r - test of indices >> dybase/rebol/testlink.r - detail-order-supplier database >> >> All bug reports, change requests, suggestions are welcome. >> >> -- >> Best regards, >> Konstantin mailto:[EMAIL PROTECTED] >> >> -- >> To unsubscribe from this list, just send an email to >> [EMAIL PROTECTED] with unsubscribe as the subject. >> >> >> -- Best regards, Konstantin mailto:[EMAIL PROTECTED] -- To unsubscribe from this list, just send an email to [EMAIL PROTECTED] with unsubscribe as the subject.