Use faster memcpy

Open
#780 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
48/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Quiet
Tech stack
c
Domain
performance

Research direction

The issue points to bin/nxdk-cc for the -fno-builtin flag and pdclib's functions/string/memcpy.c for the current implementation. Read both to understand why the compiler and library use this path, then compare possible built-in or optimized implementations. Done means choosing and implementing a faster memcpy approach with evidence that it improves performance.

Written by the indexing model from the issue text.

Description

-fno-builtin and naive memcpy from pdclib leave us with a very slow memcpy out of the box. Let's consider using built-ins and/or provide more robust memcpy.

Dominant language
C
Stars
600
Forks
97
Avg merge
11h 48m
Merged PRs (30d)
2

Getting set up

  • Ships a Dockerfile or Docker Compose file
  • No pull request template
  • No contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from XboxDev/nxdk

All issues in XboxDev/nxdk

Similar issues

More C issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.