~mil/mepo-tickets#6: 
Investigate using RwLock / RW Mutex for TileCache

Current mutex for Lifo datastructure slows down rendering a bit (but improves stability and prevents crashes). Probably could be sped up by using RwLock and read-specific / write-specific locking to speed up concurrent read operations.

https://github.com/ziglang/zig/blob/master/lib/std/event/rwlock.zig

https://github.com/ziglang/zig/blob/master/lib/std/Thread/RwLock.zig

std.event.RwLock is async only currently. There's a TODO to make this work in blocking IO mode.

Status
RESOLVED FIXED
Submitter
~mil
Assigned to
No-one
Submitted
3 months ago
Updated
21 days ago
Labels
refactoring

~mil referenced this from #8 3 months ago

~mil referenced this from #8 2 months ago

~mil REPORTED FIXED 21 days ago

Performance issues are solved as of 0.2 - closing

Register here or Log in to comment, or comment via email.