[REBOL] Re: Large REBOL applications?
From: robert::muench::robertmuench::de at: 2-Dec-2008 12:37
Am 01.12.2008, 21:07 Uhr, schrieb Sunanda <dhsunanda-gmail.com>:
> So I've written a small script that attempts to generate some
> metrics about the size of applications:
>
> <
http://www.rebol.org/script-information.r?script-name=application-sizer.r>
Hi, cool stuff. Some comments:
1. The script itself should be skipped. Than it can be just run from an
actual directory.
2. Please put the %./ as the default folder in the script, so that it can
run out-of-the-box
3. Add the app-sizer/run and probe command at the end.
4. I'm using prebol a lot in my big app. So the files should be prereboled
as well. Otherwise results are wrong.
> PLEASE JOIN IN THE HUNT FOR LARGE APPLICATIONS
> =========================================
>
> If you have the time, please run it against any applications you
> have, and publish the results here. It'd help show just how big
> REBOL applications can become.
Here is my application result:
make object! [
folders: 1
files: 2
raw-bytes: 1690752
compressed-size: 396721
raw-lines: 30110
code-lines: 26330
elements: make object! [
string: [10677 256191]
datatype: [3632 22230]
number: [6178 10820]
refinement: [894 5668]
function: [29473 127244]
comment: [50 1557]
body: [61360 701524]
whitespace: [112264 565518]
]
element-definitions: ["comment" [
cmt
] "datatype" [
date!
issue!
money!
pair!
time!
tuple!
] "number" [
decimal!
integer!
] "refinement" [
refinement!
] "string" [
char!
email!
file!
string!
tag!
url!
]]
]
Lines of code is definetly wrong here, because I have a rebgui oneliner in
it ;-)
--
Robert M. Münch
Mobile: +49 (177) 245 2802
http://www.robertmuench.de