-
Recent Posts
Recent Comments
- R.P. Churchill on TWSL Series 07: Discovery and Data Collection
- R.P. Churchill on A Simulationist’s Framework for Business Analysis: Round Two
- LN on A Simulationist’s Framework for Business Analysis: Round Two
- R.P. Churchill on Starting to Learn About the Java Memory Model
- R.P. Churchill on Multidimensional Arrays in Javascript
Categories
Meta
January 2025 M T W T F S S 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
Tag Archives: memory management
JavaScript Inheritance: A Form of Composition
Lectures 53 through 56 of JavaScript: Understanding the Weird Parts discuss more about the creation and manipulation of objects under the hood. I’d seen different aspects of this material previously, which gave me a different take on how to build … Continue reading
Posted in Software
Tagged composition, discrete-event sim project, inheritance, JavaScript, memory management, OOP in JS, Underscore.js
Leave a comment
A Simple Discrete-Event Simulation: Part 72
Following last week’s investigations I tried moving all of the functions inside the EntityPassive object (closure) to the outside, to be attached as external prototype functions. As I discovered, in keeping with what I’ve read, attaching the functions outside of … Continue reading
Posted in Simulation
Tagged discrete-event sim project, JavaScript, memory management
Leave a comment
A Simple Discrete-Event Simulation: Part 71
Continuing yesterday’s investigations I did some experiments with defining and instantiating a few objects to see how JavaScript allocates memory for them. I used the memory inspector built into Firefox to track memory and object usage as closely as possible. … Continue reading
Posted in Simulation
Tagged discrete-event sim project, JavaScript, memory management
Leave a comment