Which engine was the Y21 originally paired with? Are you sure you don't mean YS1?
Anyway, all B-series trannies (aside from the Prelude B-series) are completely interchangeable, so it should work. As for whether it will be faster or not, well, I'd need to know what car it originally came from...