Use core's Dequeue module.

Cheers,

Bene

On 2 April 2012 15:31, Hongbo Zhang <bobzhang1...@gmail.com> wrote:
> Hi List,
>   I want to implement sliding window algorithm (in place, no memory copy), I
> wonder whether I need to write c code.
>
>   To make it clear and simple,
>      In c, you can record the head pointer of the array, and do the modulo
> operations when get and set
>      In ocaml, it seems you have an array a of type int array,  you can not
> do things like this *(&a+5).
>   Many thanks
>
>
> --
> Caml-list mailing list.  Subscription management and archives:
> https://sympa-roc.inria.fr/wws/info/caml-list
> Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
> Bug reports: http://caml.inria.fr/bin/caml-bugs
>



-- 
Calvin: I try to make everyone's day a little more
surreal.

(From Calvin & Hobbes)


-- 
Caml-list mailing list.  Subscription management and archives:
https://sympa-roc.inria.fr/wws/info/caml-list
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
Bug reports: http://caml.inria.fr/bin/caml-bugs

Reply via email to