Las notas de versión están escritas en inglés.
Scripts get much faster, and two of the speed-ups turned out to be switched off
Most of this release is JavaScript. Two of the engine's fast paths for hot code had quietly stopped working: the one for maths and the one for scanning text. Nothing failed, because a fast path that never engages still gives the right answer, just far more slowly, so nothing caught it. Maths-heavy loops now run about 250 times faster than they did last release and text scanning about 110 times faster. Worse than either, on a loop inside another loop that writes to a list, turning the compiler on made the code twelve times SLOWER than leaving it off; that is fixed and the same code now runs about forty times faster than the plain interpreter. Whole categories of everyday code now compile for the first time: reading fields off objects in a list, walking binary data, and - the big one for real sites - calling a method on an object and calling a function that captures a variable, both of which had been running in the slowest tier no matter how hot they got, even though the identical code written as a plain function call was already being compiled. On the language side, sixteen conformance gaps were closed by testing the half of the standard library that had never been tested at all. The most consequential: every error the engine itself raised was a bare piece of text rather than a real error object, so the ordinary way of handling a failure - checking the error's name, or reading its message - saw nothing at all.
Qué cambió
13 cambios- JavaScript y JITMaths-heavy loops run about 250 times faster, and text scanning about 110 times faster. Both fast paths had stopped engaging some releases ago and nothing noticed, because code that is not being sped up still produces the right answer.
- JavaScript y JITA loop inside another loop that writes to a list used to be twelve times slower with the compiler on than off. It is now about forty times faster than the interpreter. Two-dimensional loops like this are ordinary in graphics and data code.
- JavaScript y JITCalling a method on an object now gets compiled. It never was before, at any tier, even though the same call written as a plain function was - and a method call is how nearly all real page code is written.
- JavaScript y JITFunctions that capture a variable from around them now get compiled too. The cost was never the call, it was the captured variable: the same function with nothing captured was already 150 times faster.
- JavaScript y JITSmall helper functions that contain a decision - a clamp, a guard, an "and" or an "or" - now get compiled into the loop that calls them. Any branch at all used to rule a helper out, which is most of them.
- JavaScript y JITReading a field off each object in a list, and reading and writing binary data arrays, now compile to machine code. Binary data is 36 times faster.
- JavaScript y JITEvery error the engine raises is now a real error object. Checking an error's name or reading its message returned nothing before, which is the most common way code handles a failure.
- JavaScript y JITIteration works the way tools generate it. Asking a list for its iterator directly returned nothing, so code compiled by the usual build tools broke, even though looping over the same list worked.
- RenderizadoA function that refers to itself by name now works. Compressed and minified code does this constantly, and it was failing outright.
- RenderizadoObject properties are listed in the order the standard requires, with numeric keys first and in order. Anything keyed by id - most data arriving from a server - was being listed in the wrong order.
- RenderizadoSixteen further standard-library corrections, including whole-number rounding, sealing an object actually sealing it, collections finding a not-a-number key again, and several missing functions.
- Pestañas e interfazContainer queries: a component can now style itself from the width of the box it was placed in rather than the width of the window. This is the last of the three modern CSS features the engine was missing.
- RenderizadoAn outline drawn around a block no longer draws a second one around every word inside it. Focus rings around text were wrong everywhere.
































