Skip to content

INTERNAL: Rename DO_UPDATE to LRU_UPDATE#830

Closed
ing-eoking wants to merge 1 commit intonaver:developfrom
ing-eoking:word
Closed

INTERNAL: Rename DO_UPDATE to LRU_UPDATE#830
ing-eoking wants to merge 1 commit intonaver:developfrom
ing-eoking:word

Conversation

@ing-eoking
Copy link
Copy Markdown
Collaborator

🔗 Related Issue

  • jam2in/arcus-works#707

⌨️ What I did

  • do_update 용어를 lru_update 용어로 변경합니다.

Copy link
Copy Markdown
Collaborator

@jhpark816 jhpark816 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

리뷰 완료

/* A lru_update argument value representing that
* we should check and reposition items in the LRU list.
*/
#define DO_UPDATE true
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

DO_UPDATE만 변경하고, DONT_UPDATE는 변경하지 않았네요.
어떤 용어가 좋은 지를 제시하고,
한꺼번에 변경하는 것이 일관성이 있을 것입니다.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

아래의 용어가 좋은 것 같습니다.

  • LRU_SKIP
  • LRU_READONLY

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

DO_UPDATE는 LRU_UPDATE로 변경하고,
DONT_UPDATE 대신에 LRU_SKIP or LRU_READONLY가 좋다는 의견인가요?

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

매크로 상수 두지 않고 true / false 직접 사용하면 안 되나요?

@jhpark816
Copy link
Copy Markdown
Collaborator

@ing-eoking
기존 macro를 그대로 유지하기로 하였습니다.

@jhpark816 jhpark816 closed this Apr 14, 2025
@ing-eoking ing-eoking deleted the word branch April 14, 2025 01:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants