Re: [Rd] merge performace degradation in 2.9.1

2009-07-13 Thread Matthew Dowle
> Is there a way to avoid the degradation in performance in 2.9.1? If the example is to demonstrate a difference between R versions that you really need to get to the bottom of then read no further. However, if the example is actually what you want to do then you can speed it up by using a data

[Rd] merge performace degradation in 2.9.1

2009-07-09 Thread Adrian Dragulescu
I have noticed a significant performance degradation using merge in 2.9.1 relative to 2.8.1. Here is what I observed: N <- 10 X <- data.frame(group=rep(12:1, each=N), mon=rep(rev(month.abb), each=N)) X$mon <- as.character(X$mon) Y <- data.frame(mon=month.abb, letter=letters[1:12])