diff --git a/docs-source/src/en/config/api-example.md b/docs-source/src/en/config/api-example.md index 74c6ad2..94343ab 100644 --- a/docs-source/src/en/config/api-example.md +++ b/docs-source/src/en/config/api-example.md @@ -82,23 +82,6 @@ YukiReflection.configs { YukiReflection.Configs.isAllowPrintingLogs = true ``` -### Enable or Disable Member Cache - -You can enable or disable `Member` caching as follows. - -To prevent system GC problems caused by excessive `Member` reuse, this feature is enabled by default. - -> The following example - -```kotlin -// Via the configs method -YukiReflection.configs { - isEnableMemberCache = true -} -// Set directly -YukiReflection.Configs.isEnableMemberCache = true -``` - ### Use the configs Method to Configure In order to configure multiple features at once, you can directly use the `YukiReflection.configs { ... }` method to configure. @@ -110,7 +93,6 @@ YukiReflection.configs { debugTag = "YourCustomTag" isDebug = true isAllowPrintingLogs = true - isEnableMemberCache = true } ``` diff --git a/docs-source/src/zh-cn/config/api-example.md b/docs-source/src/zh-cn/config/api-example.md index 47dc4b4..255f9f4 100644 --- a/docs-source/src/zh-cn/config/api-example.md +++ b/docs-source/src/zh-cn/config/api-example.md @@ -82,23 +82,6 @@ YukiReflection.configs { YukiReflection.Configs.isAllowPrintingLogs = true ``` -### 启用或禁用 Member 缓存 - -你可以使用如下方式来启用或禁用 `Member` 缓存。 - -为防止 `Member` 复用过高造成的系统 GC 问题,此功能默认启用。 - -> 示例如下 - -```kotlin -// 通过 configs 方法 -YukiReflection.configs { - isEnableMemberCache = true -} -// 直接设置 -YukiReflection.Configs.isEnableMemberCache = true -``` - ### 使用 configs 方法配置 为了一次性配置多个功能,你可以直接使用 `YukiReflection.configs { ... }` 方法进行配置。 @@ -110,7 +93,6 @@ YukiReflection.configs { debugTag = "YourCustomTag" isDebug = true isAllowPrintingLogs = true - isEnableMemberCache = true } ```