BHoM / BHoM/BHoM_Adapter

BHoM_Adapter: refactoring-PullTo-implement batches

Open
#92 1 comment 0 reactions 0 assignees View on GitHub
type:feature
Dominant language
C#
Stars
7
Forks
5
PR merge metrics
No merged PRs in 30d

Description

The `PullTo` method (or "Move", as proposed by #91) could implement batches of objects in order to improve stability/performance when dealing with large models.

As discussed with @adecler and @IsakNaslundBh one way of doing it could be to implement `PullTo` as `async`. However, this would be in contrast with the rest of the methods, it could be scary to less advanced users, and generally more difficult to debug.

Another way is simply to introduce a mechanism to `Pull` and `Push` objects in batches of a certain number.

Contributor guide

Open the contributing guide

Research direction

Start by reading the PullTo method and the related Pull and Push entry points, then review the alternative discussed in issue #91. Define whether batching or an async implementation is appropriate, and validate that large-model operations improve stability and performance without making the existing method behavior harder to use or debug.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
backend
Issue type
Refactor
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.