mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
Further refactoring
This should finish the work to make all globals to local variables. That allows LuaJIT to properly compile things by interning the references to the relevant parts (rather than looking up globals all the time which stops a trace).
This commit is contained in:
@@ -2,6 +2,9 @@ local Document = require("document/document")
|
||||
local Cache = require("cache")
|
||||
local CacheItem = require("cacheitem")
|
||||
local Screen = require("ui/screen")
|
||||
local Geom = require("ui/geometry")
|
||||
local TileCacheItem = require("document/tilecacheitem")
|
||||
local Dbg = require("dbg")
|
||||
-- TBD: KOPTContext
|
||||
|
||||
local KoptInterface = {
|
||||
|
||||
Reference in New Issue
Block a user