ostef / ostef/OhMyGUI

Improve layout performance

Open
#28 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Jai
Stars
10
Forks
0
Avg merge
1m
Merged PRs (30d)
1

Description

In debug mode layout and drawing take too much time for the library to be integrated into a real application. We need to make the layout system more performant, or somehow compile the layout code separately with optimizations ON and link against that.

If we compile it into a separate lib we will probably need to make functions #c_call because the compiler does not have a well defined calling convention yet, so X64 and LLVM backends can't call each other.

Contributor guide

No contributing guide indexed for this repository

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.

Research direction

Start by locating the layout and drawing system in the repository and measuring their time in debug mode. Compare optimizing the layout code with compiling it as a separate library, including the stated #c_call and X64/LLVM calling-convention constraints. Done should mean acceptable integrated-application performance with a verified build and calling convention.

Written by the indexing model from the issue text.

Assessment

Domain
performance
Issue type
Refactor
Difficulty
5/5
Estimated time
Over a week
Activity status
Active
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.