https://www.reddit.com/r/math/comments/37yyyz/comment/crssj4u

TIL the $ delimiters in latex were due to how expensive it was to typeset math, is this true??

@koronkebitch That’s hilarious! 😆 And it seems to be true: “Knuth explained in jest that he chose the dollar sign to indicate the beginning and end of mathematical mode in plain TeX because typesetting mathematics was traditionally supposed to be expensive.” https://en.wikipedia.org/wiki/TeX?wprov=sfti1#Operation
TeX - Wikipedia