English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

Browse thread
Re: list module with O(1) append function
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2007-11-30 (02:15)
From: Jeffrey Loren Shaw <shawjef3@m...>
Subject: Re: list module with O(1) append function
tail-rec cons: 

let cons a l =
 Append ([a], l) 

Also, me and zmdkrbou at freenode.net #ocaml are wondering what exactly the 
performance characteristics of this list module are. Specifically, when the 
lists are constructed only using library functions.