devexperts / devexperts/swagger-codegen-ts

try optimize code

Open
#158 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
80
Forks
17
PR merge metrics
No merged PRs in 30d

Description

![image](https://user-images.githubusercontent.com/31949379/140900526-b1226b49-511c-4197-9dd4-05d400562a05.png)
in this snippet, the function is called three times with the same result, almost. Perhaps you can get by with just one function call.

Contributor guide

No contributing guide indexed for this repository

Research direction

The issue only identifies a code snippet in the attached image, not a file or test; start by locating that snippet and tracing the repeated function calls. Compare the relevant generated behavior before and after the change. Done means the same result is produced without unnecessary repeated calls.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
performance
Issue type
Refactor
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.