http://www.slideshare.net/nirusuma/what-lies-beneath-the-bea... (from march 2012) also discusses this.
Also (pedantic):
#define RSTRING_EMBED_LEN_MAX ((int)((sizeof(VALUE)*3)/sizeof(char)-1))
sizeof(char) is always 1, so that division is superfluous.