apache / apache/druid

Cache TypeReferences

Open
#6,772 1 comment 0 reactions 0 assignees View on GitHub
Area - Automation/Static Analysis Contributions Welcome stale
Dominant language
Java
Stars
14.1k
Forks
3.8k
Avg merge
2d 31m
Merged PRs (30d)
209

Description

All TypeReferences should be cached in static final variables, not recreated on each access. Problematic places could be found with a regex `(?

Contributor guide

Open the contributing guide

Research direction

Search the Java source with the provided `(?<= )new TypeReference` regex and inspect each matching location. Replace the applicable repeated constructions with static final variables, then verify that no intended TypeReference creations remain in the search results.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
backend, databases, performance
Issue type
Refactor
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.