Skip to content

The typescript language

John Heikens edited this page Jul 16, 2024 · 4 revisions

template classes are extremely slow in typescript. i found this out the hard way. after a week of trying to optimize my code, i discovered that when i replaced the template class for an interface, it would run SIGNIFICANTLY faster. also, when i profiled my code, everything was way faster. it probably 'compiled' the template to an interface.

naming conventions: the folders are snake_case
the files and classes are PascalCase
variables and functions are camelCase

Clone this wiki locally