openhub.net
Black Duck Software, Inc.
Open Hub
Follow @
OH
Sign In
Join Now
Projects
People
Organizations
Tools
Blog
BDSA
Projects
People
Projects
Organizations
W
Writing a Ruby compiler in Ruby
Settings
|
Report Duplicate
0
I Use This!
×
Login Required
Log in to Open Hub
Remember Me
Very High Activity
Commits
: Listings
Analyzed
about 19 hours
ago. based on code collected
2 days
ago.
Sep 12, 2025 — Sep 12, 2026
Showing page 7 of 117
Search / Filter on:
Commit Message
Contributor
Files Modified
Lines Added
Lines Removed
Code Location
Date
docs: record 3 self-hosted compiler issues found while perf-tuning (KNOWN_ISSUES)
Vidar Hokstad
More...
2 months ago
perf: index loops + cached dispatch name in hot codegen (block-boxing + strings)
Vidar Hokstad
More...
2 months ago
perf: thread depth_first's block as a regular arg -> 2.6x faster self-hosted compile
Vidar Hokstad
More...
2 months ago
perf: drop a few throwaway Arrays in caller_save / process_scope_env / Function#init
Vidar Hokstad
More...
2 months ago
perf: evict avoids building a discarded collect+compact array
Vidar Hokstad
More...
2 months ago
perf: build in_scopes result in one pass (drop reverse+collect+compact)
Vidar Hokstad
More...
2 months ago
perf: index-loops instead of each_with_index in hot transform/lookup paths
Vidar Hokstad
More...
2 months ago
perf: memoize clean_method_name (both hosts)
Vidar Hokstad
More...
2 months ago
perf: short-circuit discarded trace() string-building in hot call paths
Vidar Hokstad
More...
2 months ago
perf: cache peeked atom in Keyword.expect (~20% fewer allocations, both hosts)
Vidar Hokstad
More...
2 months ago
perf: short-circuit discarded comment string-building (Emitter::COMMENTS)
Vidar Hokstad
More...
2 months ago
perf: compare position fields instead of building inspect strings in compile_eval_arg
Vidar Hokstad
More...
2 months ago
perf: index-loop instead of each_with_index in compile_args_nosplat
Vidar Hokstad
More...
2 months ago
perf: hoist redundant Symbol#to_s in scope get_arg (both hosts)
Vidar Hokstad
More...
2 months ago
perf: explicit Value#[] bypasses SimpleDelegator#method_missing (both hosts)
Vidar Hokstad
More...
2 months ago
perf: Emitter one-liner helpers build instruction rows directly (both hosts)
Vidar Hokstad
More...
2 months ago
perf: skip redundant char copies in Scanner (getc result reuse + single-char unget)
Vidar Hokstad
More...
2 months ago
perf: cache Scanner#position (immutable snapshot, queried repeatedly at one spot)
Vidar Hokstad
More...
2 months ago
perf: emit_row avoids re-collecting instruction rows on the flush path
Vidar Hokstad
More...
2 months ago
perf: replace Enumerable#member? in per-char/per-node hot paths (big allocator)
Vidar Hokstad
More...
2 months ago
perf: hoist clean_method_name's operator dict to a frozen constant
Vidar Hokstad
More...
2 months ago
perf: inline peephole pattern comparisons (per-instruction Array/String literals)
Vidar Hokstad
More...
2 months ago
perf: depth_first uses a while-index loop, not self.each (block dispatch per node)
Vidar Hokstad
More...
2 months ago
perf(gc): shrink tgc table entry 16->8 bytes (drop hash, pack flags into size)
Vidar Hokstad
More...
2 months ago
cleanup: Atom.expect identifier-start uses Tokens.alpha? (no char-Range objects)
Vidar Hokstad
More...
2 months ago
perf: drop per-char Array literals in scanner/tokenizer whitespace checks
Vidar Hokstad
More...
2 months ago
perf: Array#depth_first -- thread arg array through recursion, no re-splat
Vidar Hokstad
More...
2 months ago
perf: cut compile allocations -- scanner peek cache + tokenizer ord char-classes
Vidar Hokstad
More...
2 months ago
perf(gc): raise tgc sweepfactor 2->16 -- ~30% faster self-hosted compile
Vidar Hokstad
More...
2 months ago
fix+perf: ASTMarshal.load works self-hosted (byte dispatch) + no per-read alloc
Vidar Hokstad
More...
2 months ago
←
1
2
3
4
5
6
7
8
9
10
11
…
116
117
→
This site uses cookies to give you the best possible experience. By using the site, you consent to our use of cookies. For more information, please see our
Privacy Policy
Agree