[futurebasic] Re: [FB] A Faster Blockmove ?

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : August 2000 : Group Archive : Group : All Groups

From: Mark Goodes <mgoodes@...>
Date: Sat, 05 Aug 2000 10:30:33 -0400
Sylvain:
Maybe I'm missing the point here, but why don't you just use the technique
that Staz mentioned to read and write directly to the data in your handle?
Mark

Sylvain Guillemette wrote:

> Hi Robert,
>
> >I have listed various possibilities in rough order
> >of the likely speed:
> --SNIP--
>
> What I'd like to have is two functions (FBII):
> (GOSUB = faster than LOCAL FNs ?)
>
> LOCAL FN PStringToCStringInExistingHandle(PStringPtr$, CStringPtr&)
>   'PStringPtr& = Address of the source Pascal string
>   'CStringPtr& = Dereferenced handle
> END FN
>
> LOCAL FN CStringToPString(CStringPtr&, PStringPtr&)
>   'CStringPtr& = Dereferenced handle
>   'PStringPtr& = Address of the Pascal string destination
> END FN
>
> ...and less importantly:
>
> LOCAL FN PStringToPString(PStringPtr1&, PStringPtr2&)
>   'PStringPtr1& = Address of source Pascal string
>   'PStringPtr2& = Address of destination Pascal string
> END FN
>
> Thanks,
> Sylvain Guillemette
> ________________________________________________________________________
> Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com
>
> --
> To unsubscribe, send ANY message to <futurebasic-unsubscribe@...>