Consider more efficient list-based stylesheet processing
Bug #883879 reported by
Cris Dywan
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Midori Web Browser |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
The new shared global stylesheet API used internally is based on concatenating strings. There's an alternative approach in an older patch based on lists. It should be straight-forward to replace it and find out if it's faster.
See https:/
description: | updated |
Changed in midori: | |
status: | New → In Progress |
Changed in midori: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
I'm currently working on this, but I think the list-based implementation depended too heavily on integer ids as indices to be adapted exactly as suggested. I'm putting together a solution based on storing both styles and their lengths (as GStrings) in the hashtable. That way we get the time benefits when we generate the final uri, don't have to maintain parallel data structures, and don't need any auxiliary indices.