Closed Bug 140110 Opened 23 years ago Closed 23 years ago

Remove redundant code from CGI.pl

Categories

(Bugzilla :: Bugzilla-General, defect)

2.15
defect
Not set
blocker

Tracking

()

RESOLVED FIXED
Bugzilla 2.16

People

(Reporter: gerv, Assigned: gerv)

Details

(Keywords: perf)

Attachments

(1 file)

Post-templatisation, there is a _load_ of redundant code in CGI.pl that no-one uses. Given that this file is instantiated every time we run a CGI, removing it all must be a perf win of some sort. And it also makes what's going on a lot clearer. Gerv
Accepting. Gerv
Status: NEW → ASSIGNED
Target Milestone: --- → Bugzilla 2.16
Attached patch Patch v.1Splinter Review
Remove 273 lines of rubbish from CGI.pl. Gerv
Keywords: patch, perf, review
Comment on attachment 81011 [details] [diff] [review] Patch v.1 2xr=ddk Grepped for removed functions after patching CGI.pl, but couldn't find any. [NIT] Regarding make_options(), there is a comment about it in query.cgi, but I don't think the comment is valid anymore (but I'm not sure). The comment could be updated.
Attachment #81011 - Flags: review+
Fixed. Excellent :-) Checking in CGI.pl; /cvsroot/mozilla/webtools/bugzilla/CGI.pl,v <-- CGI.pl new revision: 1.147; previous revision: 1.146 done Gerv
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
QA Contact: matty_is_a_geek → default-qa
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: