---
title: "Discussion on \"PACKED to HOLEY: How JS Arrays Fall Down the Optimization Ladder\" | Hashnode"
description: "Discussion on \"PACKED to HOLEY: How JS Arrays Fall Down the Optimization Ladder\". V8 silently profiles every array you make. One float, one string, or one hole can downgrade it forever. Here is the ladder, measured."
url: "https://hashnode.com/posts/packed-to-holey-how-js-arrays-fall-down-the-optimization-ladder/6a57b860fef462b97811386d"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [PACKED to HOLEY: How JS Arrays Fall Down the Optimization Ladder](https://malharmorey.hashnode.dev/packed-to-holey-how-js-arrays-fall-down-the-optimization-ladder?utm_source=hashnode&utm_medium=feed)

V8 silently profiles every array you make. One float, one string, or one hole can downgrade it forever. Here is the ladder, measured.

Apr 2 · 8 min read · malharmorey.hashnode.dev  
Read the article

-   [#javascript](https://hashnode.com/tag/javascript)
-   [#v8](https://hashnode.com/tag/v8)
-   [#v8-engine](https://hashnode.com/tag/v8-engine)
-   [#performance](https://hashnode.com/tag/performance)
-   [#web-development](https://hashnode.com/tag/web-development)
-   [#array](https://hashnode.com/tag/array)
-   [#optimization](https://hashnode.com/tag/optimization)

## Written by

[Malhar Morey](https://hashnode.com/@malharmorey)

@malharmorey · Pune, India

  
[View profile](https://hashnode.com/@malharmorey)

JavaScript internals, side projects, and the bugs in between.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
