equinor / equinor/resdata

Remove functions related to get_num_cpu

Open
#1,209 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
127
Forks
103
Avg merge
2d 5h
Merged PRs (30d)
18

Description

Ert was the only user of this functionality, but Ert sports its own Python implementation.

https://github.com/equinor/resdata/blob/ebd5dddf431b67aecc23178d5532afe148196a01/lib/resdata/rd_util.cpp#L717

Other referrals to this is in res-compat.

Contributor guide

Open the contributing guide

Research direction

Start at lib/resdata/rd_util.cpp around the linked get_num_cpu implementation, then search res-compat for the other referrals mentioned in the issue. The work is complete when the obsolete functions and their remaining references are removed without leaving callers behind.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
backend
Issue type
Refactor
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
62/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.