Tag

object reference

1 views collected around this technical thread.

Lobster Programming
Lobster Programming
Mar 19, 2025 · Fundamentals

Handle vs Direct Pointer Access in the JVM: Which Is Faster?

An in‑depth look at how the JVM stores object references, comparing handle‑based access with direct pointer access, highlighting their performance trade‑offs, memory overhead, and impact on garbage collection to help developers choose the most suitable approach for their applications.

JVMdirect pointerhandle access
0 likes · 3 min read
Handle vs Direct Pointer Access in the JVM: Which Is Faster?
JavaScript
JavaScript
Dec 8, 2021 · Frontend Development

How to Fill JavaScript Arrays with Primitives, Shared Objects, and Unique Instances

This guide explains how to initialize JavaScript arrays with primitive values, shared object references, and distinct object instances using methods like Array.fill, Array.from, and map, highlighting pitfalls of shared references and offering practical code examples for each approach.

Array.fromJavaScriptarray
0 likes · 5 min read
How to Fill JavaScript Arrays with Primitives, Shared Objects, and Unique Instances