Closed (fixed)
Project:
Autoload
Version:
6.x-1.x-dev
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
18 Jun 2010 at 03:12 UTC
Updated:
13 Jul 2010 at 23:50 UTC
The static $lookup var is never actually filled with the data from the cache when it's retrieved. So right now, autoload module makes a database query for every class it loads...ouch! The fact that class_exists() triggers autoload by default makes this really icky. Hence the critical.
Simple fix is attached.
| Comment | File | Size | Author |
|---|---|---|---|
| use_static_cache.patch | 1.04 KB | sdboyer |
Comments
Comment #1
Crell commentedUrf. Yeah, that at least is only in the dev, due to recent changes there. :-) Thanks.