summaryrefslogtreecommitdiff
path: root/overload.pl
Commit message (Collapse)AuthorAgeFilesLines
* make miniperl -Wwrite-strings cleanRobin Barker2007-12-201-1/+1
| | | | | | From: "Robin Barker" <Robin.Barker@npl.co.uk> Message-ID: <46A0F33545E63740BC7563DE59CA9C6D09399A@exchsvr2.npl.ad.local> p4raw-id: //depot/perl@32681
* In Perl_amagic_call(), construct the SV with newSVpvn(), as we now knowNicholas Clark2007-10-181-0/+1
| | | | | the length. (Not sure why I didn't spot this one during change 32124.) p4raw-id: //depot/perl@32132
* Storing the length of all the overloading names saves a strlen() in aNicholas Clark2007-10-171-2/+14
| | | | | | loop in Perl_Gv_AMupdate(). Brought to you by the Campaign for the Elimination of strlen(). p4raw-id: //depot/perl@32124
* PL_AMG_names is only used by gv.c (as far as Google code search canNicholas Clark2007-10-161-12/+25
| | | | | | | see), so it can easily be a static variable inside gv.c. This allows the implementation to be changed in future Perls within the 5.10.x series. p4raw-id: //depot/perl@32116
* Add 2007 copyrights in a few more .pl files thatRafael Garcia-Suarez2007-01-061-2/+2
| | | | | generate code (thanks to Jarkko) p4raw-id: //depot/perl@29704
* Fix typo spotted by Rafael. Close the file handle explicity and checkNicholas Clark2006-10-061-1/+3
| | | | | for errors. Add overload.pl to regen.pl p4raw-id: //depot/perl@28951
* Generate the overload enum and names array programatically, whichNicholas Clark2006-10-061-0/+153
allows experimentation with the order. The new order shaves nearly 900 bytes from gv.o, because the compiler can make smaller branch tables for switch statements. p4raw-id: //depot/perl@28950