- Status Closed
- Percent Complete
- Task Type Patches
- Category Games
- Assigned To No-one
- Operating System
- Severity Low
- Priority Very Low
- Reported Version
- Due in Version Undecided
-
Due Date
Undecided
- Votes
- Private
FS#2584 - Sokoban caches leveldata (dependent on plugin buffer size)
This patch adds a leveldata cache to the Sokoban
game. The cache stores parsed leveldata for a number
of levels to minimise disk accesses while playing.
I’ve also added a #define to control the size of the
leveldata cache - currently, if plugin buffer size is >
20000, we cache 20 sokoban levels, otherwise the
cache is disabled. That could definitely be tweaked to
be more appropriate for specific devices.
Closed by bagder
2006-01-09 11:48
Reason for closing: Out of Date
Additional comments about closing: Warning: Undefined array key "typography" in /home/rockbox/flyspray/plugins/dokuwiki/inc/parserutils.php on line 371 Warning: Undefined array key "camelcase" in /home/rockbox/flyspray/plugins/dokuwiki/inc/parserutils.php on line 407
2006-01-09 11:48
Reason for closing: Out of Date
Additional comments about closing: Warning: Undefined array key "typography" in /home/rockbox/flyspray/plugins/dokuwiki/inc/parserutils.php on line 371 Warning: Undefined array key "camelcase" in /home/rockbox/flyspray/plugins/dokuwiki/inc/parserutils.php on line 407
Logged In: YES
user_id=1110
1396515 is an update to this.
Loading...
Available keyboard shortcuts
- Alt + ⇧ Shift + l Login Dialog / Logout
- Alt + ⇧ Shift + a Add new task
- Alt + ⇧ Shift + m My searches
- Alt + ⇧ Shift + t focus taskid search
Tasklist
- o open selected task
- j move cursor down
- k move cursor up
Task Details
- n Next task
- p Previous task
- Alt + ⇧ Shift + e ↵ Enter Edit this task
- Alt + ⇧ Shift + w watch task
- Alt + ⇧ Shift + y Close Task
Task Editing
- Alt + ⇧ Shift + s save task
I’m posting a new patch for this purpose which buffers
levels in all but 8k of however much plugin ram there is. I
hadn’t seen this patch before I started, so my method is
also different, but hopefully not objectionable.
1396515 is an update to this.