ask-matt
MAmattpocock/skills336k近 7 天新增 5,004 个 star
Optimize memory usage, consistency, and performance by migrating standard Java/Kotlin classes to IntelliJ's specialized com.intellij.util implementations.
You are tasked with optimizing memory usage, consistency, and performance by migrating standard Java/Kotlin classes to IntelliJ's specialized com.intellij.util implementations.
Go read https://javadoc.jetbrains.net/teamcity/openapi/current/com/intellij/util/package-summary.html, and then optimize memory usage, consistency, and performance by migrating standard Java/Kotlin classes to IntelliJ's specialized com.intellij.util implementations.
ArrayList -> SmartList (for potentially empty/small lists)HashMap / ConcurrentHashMap -> ContainerUtil mapsString manipulation -> StringUtil (e.g., isEmpty, join, notNullize)Path / File string manipulation -> PathUtiljavax.swing.Timer -> Alarm (for UI-related callbacks/debouncing)ObjectUtils (e.g., doIfNotNull, coalesce)ArrayUtil./gradlew testClasses, ./gradlew test, and ./gradlew verifyPlugin to ensure project is in a good state.com.intellij.util equivalent../gradlew testClasses to ensure migration didn't break test compilation../gradlew test and ./gradlew verifyPlugin to ensure no regressions.MAmattpocock/skills336k近 7 天新增 5,004 个 star
MAmattpocock/skills336k近 7 天新增 5,004 个 star
MAmattpocock/skills336k近 7 天新增 5,004 个 star
OBobra/superpowers331k近 7 天新增 5,757 个 star
AFaffaan-m/ECC314k近 7 天新增 4,125 个 star
AFaffaan-m/ECC314k近 7 天新增 4,125 个 star