Skip to content

@databases/[email protected]

Compare
Choose a tag to compare
@ForbesLindesay ForbesLindesay released this 07 Feb 12:59
49eb2bb

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.