JetBrains-Research / JetBrains-Research/viktor

Avoid using vararg in API

Open
#30 11 comments 0 reactions 0 assignees View on GitHub
Dominant language
Kotlin
Stars
141
Forks
7
PR merge metrics
No merged PRs in 30d

Description

Both because it complicates function calls, especially when vararg is not the last argument. Also there is possible performance impact because of array re-wrapping in kotlin.

Contributor guide

No contributing guide indexed for this repository

Research direction

No files, tests, or entry points are named. Start by locating the public Kotlin API declarations that use vararg and their call sites, then determine the affected surface and how compatibility should be evaluated. Done means the agreed API no longer uses the targeted vararg patterns and relevant callers or tests remain valid.

Written by the indexing model from the issue text.

Assessment

Tech stack
kotlin
Domain
api
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.