diff options
| author | Jeremy Evans <code@jeremyevans.net> | 2022-10-05 11:50:43 -0700 |
|---|---|---|
| committer | Jeremy Evans <code@jeremyevans.net> | 2022-11-24 14:27:19 -0800 |
| commit | 1340195e79b8ae9cc56ebffc4241d6a5b2b12174 (patch) | |
| tree | fbfeb85579873e8c167dc0a6c9e9b530ccbe01eb /include/ruby/internal/intern | |
| parent | f5d73da8062377e5b93100c6ea109a37bd04b4c1 (diff) | |
Reduce duplication in pack by sharing code for some cases
s/S, i/I, l/L, and q/Q had the same code in both cases, so
combine the cases.
Alternatively, we could actually the size of the unsigned type,
but I doubt there are any platforms where the unsigned type is
a different size than the signed type.
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/6495
Diffstat (limited to 'include/ruby/internal/intern')
0 files changed, 0 insertions, 0 deletions
