This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
In sv.c, remove comments with structure sizes from bodies_by_type[].
authorNicholas Clark <nick@ccl4.org>
Mon, 11 Jul 2011 13:48:44 +0000 (15:48 +0200)
committerNicholas Clark <nick@ccl4.org>
Mon, 11 Jul 2011 13:48:44 +0000 (15:48 +0200)
commitbef84cfcf07cad89e8d385646a52bbf345e945f1
tree27e0bc2ce0fa9114981d286cba71cd2c80a35056
parent7b70e8177801df4e142684870ce037d584f72e7b
In sv.c, remove comments with structure sizes from bodies_by_type[].

On balance, the "typical" sizes seem to be more of a liability than an asset,
as they (by necessity) can only be correct for one particular combination of
UV size, pointer size, NV alignment, etc, which means more likely than not
they *aren't* correct for the platform you're building on. And that's for the
best case scenario, that the comments are updated if the structures are
updated.
sv.c