Method and system for predicting optimal HTML structure without look-ahead
Abstract
The present invention is directed towards providing a system and method for optimizing HTML output in a just-in-time compiling environment for devices such as mobile devices. A method is provided for optimizing the output in a single pass as device content is rendered. The method delays writing a closing tag until it is determined that a formatting or layout of the next control conflicts. Tags are emitted in a predefined order to minimize the number of tags that will need to be closed to accommodate a following control whose style differs. Object hierarchy is leveraged to predict the order in which tags should be written without looking ahead of the current control in the hierarchy.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 50 · Forward citations: 9.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A computer system for providing optimized markup language output sent to a requesting device in a single pass, the system comprising: a device adapter to provide a hierarchy of two or more server objects containing information related to the display of the content on the requesting device, wherein each server object has one or more style states; a device capabilities component coupled to a writer and configured to provide to the writer capabilities of the requesting device by extracting an identification from the request of the requesting device; a state-machine couple to the two or more serve
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗