nl_tokens: This has a complexity linear to the value of the code . The assumption is that looking up astral identifier characters is rare .
pl_tokens: function isInAstralSet ( code , set ) { let pos = 0x10000 for ( let i = 0 ; i < set . length ; i += 2 ) { pos += set [ i ] if ( pos > code ) return false pos += set [ i + 1 ] if ( <mask> >= code ) return true } }