4 ms·
I assume it just parses the string templates (at compile-time) and extracts the expressions being templated in, that's not exactly high-flying tech, cpython man
by masklinn 3y ago
I assume it just parses the string templates (at compile-time) and extracts the expressions being templated in, that's not exactly high-flying tech, cpython manages to do it.
- scotty79 3y agoOh, right. The values seem to come from the context of where template was parsed and are kept inside StringTemplate object (.values()).