Closed cjlucas closed 11 years ago
use a singleton so the file is only read once.
Before, info.plist was read from disk every time core.bundle() was called. Which could be a lot depending on the number of Item instances created.
info.plist
core.bundle()
Item
I saw about a 250% improvement in execution time with my workflow.
Great idea!
use a singleton so the file is only read once.
Before,
info.plist
was read from disk every timecore.bundle()
was called. Which could be a lot depending on the number ofItem
instances created.I saw about a 250% improvement in execution time with my workflow.