[rust-dev] (no subject)

2013-11-01 Thread William Wong
Date: Fri, 01 Nov 2013 09:14:26 -0700 From: Patrick Walton pcwal...@mozilla.com To: rust-dev@mozilla.org Subject: Re: [rust-dev] GZip and Deflate Message-ID: 5273d362.8040...@mozilla.com Content-Type: text/plain; charset=ISO-8859-1; format=flowed On 11/1/13 8:40 AM, Benjamin Striegel wrote

Re: [rust-dev] (no subject)

2013-11-01 Thread Thad Guidry
For my data experiments, I would rather like to see an LZ4 implementation https://code.google.com/p/lz4/ (a lossless, very, very, very, very, very, very, very, very fast decompression, with same compression - the very's are dependent on how many cpu cores you have :-) ) and it's BSD licensed. --

[rust-dev] (no subject)

2013-03-02 Thread Renato Lenzi
Hi there. How can i cast from int to float? that is: let x = 3 let mut f = 3.0 f = f * x this doesn't work... i have to change from int to float... is this possible? Thx in advance. ___ Rust-dev mailing list Rust-dev@mozilla.org

Re: [rust-dev] (no subject)

2013-03-02 Thread Patrick Walton
On 3/2/13 4:48 PM, Renato Lenzi wrote: Hi there. How can i cast from int to float? that is: let x = 3 let mut f = 3.0 f = f * x this doesn't work... i have to change from int to float... is this possible? Use `as`; e.g. `f = f * (x as float)`. Patrick