• In chevron_right

      TypeScript 4.4 brings performance boosts

      pubsub.slavino.sk / infoworldcom · Monday, 16 August, 2021 - 19:49 edit

    Microsoft’s TypeScript 4.4, the latest planned version of its popular typed version of JavaScript , has moved to a release candidate stage, with capabilities including performance improvements and control flow analysis.

    No further changes are expected in the release apart from critical bug fixes.

    For faster declaration emits, TypeScript now caches whether internal symbols are accessible in different contexts, along with how specific types are to be printed. This improves general performance in code with fairly complex types.

    [ Also on InfoWorld: 7 tools transforming JavaScript development ]

    Other performance enhancements in TypeScript 4.4 promise faster path normalization and path mapping, along with faster incremental builds. An optimization has been added for source map generation of very large output files, and faster --force builds are offered as well. A -- force build does not need up-to-date checks to determine which files need to be rebuilt, with project dependencies rebuilt from scratch.

    To read this article in full, please click here


    Značky: #Rozne, #Typescript, #JavaScript