diff options
author | Nicholas Clark <nick@ccl4.org> | 2010-06-30 10:46:09 +0100 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2010-06-30 10:46:09 +0100 |
commit | 6f7e83539961a11c89e33c98b9799323e732d5f9 (patch) | |
tree | 086222fb7e0ddedcc7cc6b024713359d16a346a8 /lib/overload | |
parent | 5da80af416fe1cadcc86dcb161e4297f0ea37c63 (diff) | |
download | perl-6f7e83539961a11c89e33c98b9799323e732d5f9.tar.gz |
Store xio_ifp in sv_u in the SV head, reducing XPVIO by 1 pointer.
When accessing a file handle for reading, this reduces pointer dereferences by
1, which will reduce CPU cache pressure.
As SVt_PVIO is also the default type provided to source filters, the code needs
to allow them to continue to use the sv_u for SvPVX(). Re-use the existing
IOf_FAKE_DIRP to signal this, as it's only set when a source filter is added.
Diffstat (limited to 'lib/overload')
0 files changed, 0 insertions, 0 deletions