Re: [Rd] R (>= 3.4.0): integer-to-double coercion in comparisons no longer done (a good thing)

2018-01-27 Thread Michael Lawrence
Thanks for highlighting this. I just made the change one day. Guess I should have mentioned it in the NEWS. Michael On Sat, Jan 27, 2018 at 3:01 PM, Henrik Bengtsson < henrik.bengts...@gmail.com> wrote: > Hi, > > there was a memory improvement done in R going from R 3.3.3 to R 3.4.0 > when it

[Rd] R (>= 3.4.0): integer-to-double coercion in comparisons no longer done (a good thing)

2018-01-27 Thread Henrik Bengtsson
Hi, there was a memory improvement done in R going from R 3.3.3 to R 3.4.0 when it comes to comparing an integer 'x' an double 'y' (either may be scalar or vector). For example, in R 3.3.3, I get: > getRversion() [1] '3.3.3' > x <- integer(1000) > y <- double(1000) > profmem::profmem(z <- (x <