World: r3wp
[!REBOL3-OLD1]
older newer | first last |
[unknown: 5] 21-Jan-2009 [9722x2] | No, I don't have access to it. |
I just figure I hadn't seen it mentioned of having this feaure. | |
Henrik 21-Jan-2009 [9724] | rebdev was up. the client was too old. :-) |
[unknown: 5] 21-Jan-2009 [9725] | Good are you making the request? |
Henrik 21-Jan-2009 [9726x2] | I'm not sure how to describe it. |
wait... perhaps it's better to use Curecode if you have an account. | |
[unknown: 5] 21-Jan-2009 [9728x4] | Basically it is open/lines but instead of separating lines from the stream it would separate the blocks. |
So a block of blocks would be returned. | |
I don't know what curecode is. | |
Never heard of it before. | |
Henrik 21-Jan-2009 [9732] | Curecode is the R3 bug database. It's public. |
[unknown: 5] 21-Jan-2009 [9733] | Oh, didn't know that. Got a link? |
Henrik 21-Jan-2009 [9734] | http://curecode.org/rebol3/view-tickets.rsp |
[unknown: 5] 21-Jan-2009 [9735x2] | cool, I'll see what I can do in that regard. |
Thanks Henrik. | |
Henrik 21-Jan-2009 [9737] | NP. Please study the reports. I think there are many regarding ports. |
[unknown: 5] 21-Jan-2009 [9738x3] | Hmmm, it doesn't let me register. |
Oh it took my name but gave me an error. | |
I actually would only request it for the speed. I already have the produced the functionality but it obviously isn't native so I figured we could gain some speed. | |
Pekr 21-Jan-2009 [9741x3] | hmm, not sure there is going to be any /lines etc. for read. |
besides that - line feed is pretty common delimiter, whereas blocks are only REBOL facility. I think it belongs to higher level parsers (decoders) | |
some few weeks ago I posted here xy links about new ports, read vs load etc blogs, which sum those issues up ... | |
[unknown: 5] 21-Jan-2009 [9744] | so no more /lines? |
BrianH 21-Jan-2009 [9745] | READ of file and http ports is binary, so no /lines. |
Henrik 21-Jan-2009 [9746] | The thing is that such facilities may be higher level now, to get more performance on the lower level. It's still possible to do, I think. |
BrianH 21-Jan-2009 [9747] | Other port schemes will differ. Steeve is working on a block port that looks really cool. |
[unknown: 5] 21-Jan-2009 [9748] | Oh I know it would be possible to do but at a cost in performance I would suppose. |
BrianH 21-Jan-2009 [9749] | Performance of ports is greater overall, so that is a tradeoff I am willing to make :) |
Pekr 21-Jan-2009 [9750] | Paul, please read those ones: http://www.rebol.net/wiki/Port_Implementation http://www.rebol.net/wiki/Ports http://www.rebol.net/wiki/Port_Examples(a good one ....) http://www.rebol.net/r3blogs/0127.html"Pruning down |
[unknown: 5] 21-Jan-2009 [9751x2] | Thank Pekr, will do. |
The first one says that data buffer is binary or BLOCK. Wonder what is meant by that. (I'll continue reading). | |
BrianH 21-Jan-2009 [9753] | Block ports return REBOL values, i.e. database ports in R2. |
[unknown: 5] 21-Jan-2009 [9754x2] | Well that is why I do currently in the newer Tretbase. I actually read blocks from a file and they contain REBOL values. |
I have it down to it being very fast but I know if the code were native it could be much faster. | |
BrianH 21-Jan-2009 [9756x2] | Steeve is doing something similar with his virtual block. |
bbl | |
[unknown: 5] 21-Jan-2009 [9758] | k |
Henrik 21-Jan-2009 [9759] | I read through the Virtual Block Scheme thread on rebdev and it looks quite cool. |
Steeve 21-Jan-2009 [9760] | it's work well now, i think i could rewrite the rebdev client using virtual bocks, but i will not if Carl doesn't bother T_T |
BrianH 21-Jan-2009 [9761x2] | We can afford to wait for now: It will be a while before there are enough messages for that kind of optimization to be needed. |
Carl is busy enough as it is. Let's wait to optimize RebDev until the DevBase parts are included, or at least until the source is out. | |
Henrik 21-Jan-2009 [9763] | Steeve, can you explain in a few lines what it does? It simply stores a block as a file and lets you seek/edit it? |
Steeve 21-Jan-2009 [9764] | Right Brian, but more the client grows more it will need time to rewrite it. The hard work doesn't come from the replacement of blocks with virtual blocks (it's minor). The problem comes from useless needs to reload and sort blocks in memory after each connection. Outside the big respect i have for Carl, it's a poor conception, sorry. |
[unknown: 5] 21-Jan-2009 [9765] | So virtual blocks is a storage of blocks in a blocks that is then loaded into memory? |
Steeve 21-Jan-2009 [9766] | Henrik, yes a virtual block act like a block, you can use most natives which handle blocks as is. The gain is that there is no block bloating the memory, all actions are converted to file actions. So you can work with blocks containg millions of data with no pain and overhead. |
[unknown: 5] 21-Jan-2009 [9767x2] | Trying to follow so bare with me... |
Your storing data in blocks into a file that is one large container block? | |
Steeve 21-Jan-2009 [9769] | the virtual block acts like block. you can store any type of values in it (which are blocks or not) |
[unknown: 5] 21-Jan-2009 [9770] | So is a virtual block in essence a file? |
Steeve 21-Jan-2009 [9771] | yes |
older newer | first last |