https://github.com/Microsoft/TypeScript
Raw File
Tip revision: 8e131e055e0d101fd564b744e5d6fdf0e8bb7e87 authored by Daniel Rosenwasser on 06 September 2017, 21:15:46 UTC
Pre-allocate the appropriate number of elements in calls to 'map' and 'sameMap'.
Tip revision: 8e131e0
issue_template.md
<!-- BUGS: Please use this template. -->
<!-- QUESTIONS: This is not a general support forum! Ask Qs at http://stackoverflow.com/questions/tagged/typescript -->
<!-- SUGGESTIONS: See https://github.com/Microsoft/TypeScript-wiki/blob/master/Writing-Good-Design-Proposals.md -->

**TypeScript Version:**  2.4.0 / nightly (2.5.0-dev.201xxxxx)

**Code**

```ts
// A *self-contained* demonstration of the problem follows...
// Test this by running `tsc` on the command-line, rather than through another build tool such as Gulp, Webpack, etc.
```

**Expected behavior:**

**Actual behavior:**
back to top