[REBOL] Re: REP: Introduce new functions for finding minimum and maximum of a se
From: petr:krenzelok:trz:cz at: 26-Dec-2000 22:52
----- Original Message -----
From: "Ladislav Mecir" <[lmecir--mbox--vol--cz]>
To: <[rebol-list--rebol--com]>
Sent: Tuesday, December 26, 2000 6:41 PM
Subject: [REBOL] Re: REP: Introduce new functions for finding minimum and
maximum of a serie ...
> Hi Pekr,
>
> one more suggestion, try the following modification:
>
> print "Finding min and max values using iteration ..."
> start: now/time
> mn: mx: copy/part img-data 4
> loop (length? img-data) / 4 [
> mn: min tmp: copy/part img-data 4 mnave
> mx: max tmp mx
> img-data: skip img-data 4
> ]
> end: now/time
> print end - start
>
Thanks Ladislav. It makes some sec. or two difference on 1500x1200*4 series
size, but still 12 sec on my P700 notebook ... that's not acceptable for me
and I will have to
1) wait till RT optimizes Rebol or adds requested functionality (but they
don't have to accept, if such functionality is not of general purpose)
2) think about library component, but using Rebol runtime my app users will
loose the ability to work with console probably, and am loosing
multiplatform paradigm
3) will have to leave Rebol in favor of some other, faster multiplatform
solution. Java?
Thanks anyway,
-pekr-