From 05a959bfe77c6bcb34c391ecc49f7faf81dba32e Mon Sep 17 00:00:00 2001 From: CyC2018 Date: Wed, 28 Oct 2026 13:35:21 +0800 Subject: [PATCH] =?UTF-8?q?Update=20=E8=AE=BE=E8=AE=A1=E6=A8=A1=E5=BC=8F?= =?UTF-8?q?=20-=20=E4=BA=AB=E5=85=83.md?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 更新 Java 中缓存小对象的作用说明。 --- notes/设计模式 - 享元.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/notes/设计模式 - 享元.md b/notes/设计模式 - 享元.md index bf29e556..4ac31fba 100644 --- a/notes/设计模式 - 享元.md +++ b/notes/设计模式 - 享元.md @@ -73,7 +73,7 @@ ExtrinsicState: y ``` ### JDK 中的应用 -Java 利用缓存来加速大量小对象的访问时间。 +Java 利用缓存复用大量的小对象,减少对象的创建和内存占用。 - java.lang.Integer#valueOf(int) - java.lang.Boolean#valueOf(boolean)