为了熟悉情况,陈雨佳没事就在村里转悠。
遇到一个复杂的正则表达式或者是算法题,对着Google搜了半小时,结果复制过来的代码自己都看不懂,最后只能硬着头皮问同事。
,推荐阅读PDF资料获取更多信息
const zip = new JSZip();
and this is the crux of why we care: extended operators do not make sense with an ordered OR. if | isn’t commutative, then boolean algebra falls apart. A & B is supposed to equal B & A. ~~A is supposed to equal A. these identities rely on | being true union, not “try left first”. so if you want & and ~ to work correctly, you need commutative semantics. it’s not a style choice, it’s a mathematical necessity. and surprisingly also a reason for our amazing benchmark results - leftmost-longest lets you simplify your regexes without changing the matches, which i will elaborate on in another post, but for now just take my word for it that this is a huge deal for performance.