r3wp [groups: 83 posts: 189283]
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

World: r3wp

[!REBOL3-OLD1]

PeterWood
15-Jan-2009
[9630]
Where should I report DevBase bugs?
Henrik
15-Jan-2009
[9631]
I suppose the best place for now is CureCode.
Steeve
15-Jan-2009
[9632]
When we use to block! on input data, most of the time we don't want 
 duplicate them if data are already a block.
(we use copy instead if we really want that behavior)

i think to block!, to string! , form and some other native conversions 
should never duplicate the data if they already have the correct 
format.

This, should limit the memory overhead in many scripts or mezzanines, 
and save us from coding many useless tests.
[unknown: 5]
15-Jan-2009
[9633]
I agree Steeve.
Steeve
15-Jan-2009
[9634]
it appears to me that most of mezzanines who have to do such conversions 
could be 1) shorter and faster 2) with less memory overhead
[unknown: 5]
15-Jan-2009
[9635]
I agree with you and it seems to me that it would be a wise fix.
Pekr
15-Jan-2009
[9636]
to block! copies data? if so - why? :-)
Steeve
15-Jan-2009
[9637x2]
actually it copy them, don't know why...
>> z: [1]
== [1]
>> same? Z to block! z
== false
Pekr
15-Jan-2009
[9639]
this would go against REBOL principles - copy only if needed. There 
was some change in regards to functions in relation to bind or something 
like that, but ...
[unknown: 5]
15-Jan-2009
[9640]
Maybe this question has more to do with when to use to-block verses 
modifying it.
Steeve
15-Jan-2009
[9641]
as Pekr stated, if we want a copy, we use copy
sqlab
15-Jan-2009
[9642]
If I want my data to be the same, I do not apply an operation on 
them.)
Steeve
15-Jan-2009
[9643x3]
You don't see the point...
to block! is vastely used to permit polymorphic input in functions.
even like form...
Henrik
15-Jan-2009
[9646]
Graham, it seems the file commands are saved for elsewhere in rebdev, 
so he won't use them here.
BrianH
15-Jan-2009
[9647x3]
PeterWood, report DevBase bugs in the !DevBase group here. There 
is no CureCode area for DevBase. Keep in mind:

- The current DevBase will be replaced soon. RebDev is a code name 
for the next DevBase.

- DevBase may be more updated than you think. Ask more in the !DevBase 
group.
Steeve, to-block is used in a lot of code to *copy* and/or convert 
to blocks. We depend on the copying behavior a lot.
Particularly in the mezzanines :)
[unknown: 5]
15-Jan-2009
[9650]
I think he is saying that if the value is already a block why copy 
it.
BrianH
15-Jan-2009
[9651]
I would love a separate function called AS-BLOCK that does convert 
if necessary else pass on. Maybe an AS native with a ton of wrappers, 
just like TO. That would solve the problem without losing the existing 
behavior.
[unknown: 5]
15-Jan-2009
[9652x2]
now your talking....
BrianH, keep Steeve in mind if you get openings for more programmers 
in developement of R3.
BrianH
15-Jan-2009
[9654]
I love the idea, just not changing TO :)
[unknown: 5]
15-Jan-2009
[9655]
He has some pretty good experience.
BrianH
15-Jan-2009
[9656x2]
That is clear :)
That is the whole point to the releases. We are getting ready for 
more developers :)
[unknown: 5]
15-Jan-2009
[9658]
Cool
BrianH
15-Jan-2009
[9659]
Temporary UI weirdness aside, it is really cool to have a chat client 
for REBOL right there *in* REBOL :)
[unknown: 5]
15-Jan-2009
[9660]
I find out when it gets released.
Steeve
15-Jan-2009
[9661x2]
ok Brian push the 'as development as far as you can, it will improve 
many mezzanines
*pull is better
Graham
15-Jan-2009
[9663x2]
Brian, what's R3's memory footprint cf R2 ?
for similar applications?
Maxim
15-Jan-2009
[9665x2]
to-string does the same oas to-block.  even I have come to depend 
on the copying aspects of it, and I can assume that many others do 
to.
one question I have... does the object type also copy every series 
included like in R2 ?  that, IMHO one of the biggest regressions 
in rebol's history.   reversing the copy is impossible to do perfectly 
(scanning the new object, and attempting to link back the old series). 
plus it slows down rebol in a few ways.
BrianH
15-Jan-2009
[9667x2]
I'll check. It should just do a bind/copy, not a copy/deep.
MAKE object should just copy blocks, parens and functions - those 
are what can be bound. It shouldn't copy anything else.
Graham
15-Jan-2009
[9669x2]
Maxim, there is 'as-string ...
well, for R2
Steeve
15-Jan-2009
[9671]
...not working with anything else than binaries though...
BrianH
15-Jan-2009
[9672]
That is why I suggested AS and AS-* functions, Graham. The AS-* functions 
in R2 won't work in R3, but something non-aliasing would..
Steeve
15-Jan-2009
[9673x2]
Perhaps it's moment for Brian to add a page in the wiki...
to do the same work he did on parse evolution
BrianH
15-Jan-2009
[9675]
After some discussion in the appropriate area first. The wiki is 
for results of discussions, not the discussions themselves.
Steeve
15-Jan-2009
[9676x2]
do that then...
(it's not an order just a request)
[unknown: 5]
20-Jan-2009
[9678]
Any change to get a CONTINUE function in R3?
Henrik
20-Jan-2009
[9679]
>> continue
** Throw error: No loop to continue

This what you want?