[ruby-core:89067] Ask: can we limit to arguments size to uint16_t?

From: Koichi Sasada <ko1@...>
Date: 2018-09-18 14:43:16 UTC
List: ruby-core #89067
Now, call_info->orig_argc (passing argument size (we can ignore splat 
argumens)) is int (32bit on recent systems).

Can we limit this size to 16bit (uint16_t)?
Do you have any program which have arguments size exceeds 2^16?

Machine generating code can exceed. For example:
`bitmap = Bitmap.new(0x00, ...)`

Any opinion?

Thanks,
Koichi
-- 
// SASADA Koichi at atdot dot net

Unsubscribe: <mailto:ruby-core-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>

In This Thread

Prev Next