From 9fb6e03659555dc1748b9b6656fde1469fb987be Mon Sep 17 00:00:00 2001 From: Jared Harp Date: Sun, 4 Dec 2022 20:57:02 -0500 Subject: [PATCH] Fix small inaccuracy in monomorph page --- src/backend/monomorph.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/backend/monomorph.md b/src/backend/monomorph.md index 21a788203..4a0b55f62 100644 --- a/src/backend/monomorph.md +++ b/src/backend/monomorph.md @@ -10,7 +10,7 @@ execute. Different languages handle this problem differently. For example, in some languages, such as Java, we may not know the most precise type of value until runtime. In the case of Java, this is ok because (almost) all variables are -reference values anyway (i.e. pointers to a stack allocated object). This +reference values anyway (i.e. pointers to a heap allocated object). This flexibility comes at the cost of performance, since all accesses to an object must dereference a pointer.