misyltoad / misyltoad/riscv-vscript
Faster cpu cycle
Open
Nobody has claimed this yet.
- Dominant language
- Squirrel
- Stars
- 56
- Forks
- 2
- PR merge metrics
- No merged PRs in 30d
Description
Since AddThinkToEnt limits think speed to 0.1 like you said, have you tried using DoEntFire("risvc_computer", "RunScriptCode", "Think()", 0.01, null, null) in the think function itself?
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the think function that uses AddThinkToEnt and the risvc_computer entity. Compare its current timing with DoEntFire("risvc_computer", "RunScriptCode", "Think()", 0.01, null, null), then verify that the CPU cycle rate improves without breaking the emulator's behavior.
Written by the indexing model from the issue text.
Assessment
- Domain
- game-dev
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100