erdos / erdos/uclj

decrease bloated binary size

Open
#15 0 comments 0 reactions 0 assignees View on GitHub
help wanted native-image
Dominant language
Clojure
Stars
154
Forks
1
PR merge metrics
No merged PRs in 30d

Description

native binary is huge, lets remove unused parts to reduce size. idea: we an `alter-var-root` unused vars to nil.

Size history:
- version 0.1.3 from on release page: `98,591,600` bytes (with graalvm 21.3.0)
- version 0.1.3 built locally: `82,711,760` bytes (with graalvm 21.3.0) (what is the reason for difference??)
- latest built locally: `82,846,928`

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by examining how the native binary is built and where the unused vars mentioned in the issue are defined. Compare the local and release-page sizes, then verify that removing unused parts reduces the binary without breaking the interpreter or REPL.

Written by the indexing model from the issue text.

Assessment

Tech stack
clojure
Domain
build-system, cli, 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.