Closed Bug 412466 Opened 17 years ago Closed 17 years ago

Our current plugin architecture might not be appropriate for all uses, performance-wise

Categories

(Bugzilla :: Bugzilla-General, enhancement, P1)

3.1.2
enhancement

Tracking

()

RESOLVED DUPLICATE of bug 430014

People

(Reporter: mkanat, Unassigned)

References

Details

The other day I was talking with NASA about adding a hook to $user->can_see_bug. The problem is that can_see_bug is called all the time, and needs to be fast, and hooks do a lot of filesystem work every time you call them! I think it might be better to initialize all hooks and store them as coderefs--calling coderefs is pretty fast, but reading files off the system isn't.
I want to morph this into a general "redesign the plugin system" bug. I have some thoughts on requirements and a design, which I'm working on.
Blocks: bz-plugin
Severity: normal → enhancement
Priority: -- → P1
Target Milestone: --- → Bugzilla 4.0
We'll handle this in bug 430014 instead.
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → DUPLICATE
Target Milestone: Bugzilla 4.0 → ---
You need to log in before you can comment on or make changes to this bug.