Performance Improvements
-
Skip quote escaping for identifiers that do not contain quotes (#223)
The vast majority of identifiers in most applications do not include any quote characters. Since pg-typed & mysql-typed have to pass every table/column name to
escapeDatabaseIdentifier
, this could have been causing a significant performance penalty for some applications.On my local machine, escaping 10,000,000 Postgres identifiers goes from approximately 2,400ms to approximately 600ms.