HaxeFoundation / HaxeFoundation/hxcpp

hx::Val for __Run dynamic calling

Open
#1,364 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
330
Forks
227
Avg merge
2d 16h
Merged PRs (30d)
18

Description

@hughsando mentioned it might be useful to update the dynamic calling to use `hx::Val` instead of `Dynamic` to avoid some boxing. Seems like it should be pretty straight forward, given the signature is `Dynamic __Run(const Array& inArgs)` I think it would only be possible on the return type.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the __Run dynamic-calling entry point with the signature Dynamic __Run(const Array& inArgs). Compare the current Dynamic return path with hx::Val and determine whether the requested change is limited to the return type. Done means the dynamic call uses hx::Val as intended without unnecessary boxing.

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
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.