rename lib/asm to lib/optimizations & add optimized versions of Class#read_write_slots & related methods