4paradigm / 4paradigm/OpenMLDB

Remove the memcpy for UnsafeRowOpt

Open
#1,893 0 comments 0 reactions 1 assignee Claimed by @tobegit3hub View on GitHub
enhancement
Dominant language
C++
Stars
1.7k
Forks
331
Avg merge
12d 12h
Merged PRs (30d)
1

Description

Now we need to memcpy the entire row for UnsafeRowOpt because of usage of row header. It would be great to remove the memcpy for UnsafeRowOpt by not depending on row header in some cases.

Contributor guide

Open the contributing guide

Research direction

Look at the UnsafeRowOpt implementation, likely in a file like core/row_opt.cpp or similar. Understand the current row header usage and memcpy. Identify cases where the header dependency can be avoided. Test changes with existing unit tests for row operations and performance benchmarks.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
databases, performance
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.