📜 ⬆️ ⬇️

Version 0.1.6

Thank you all.

Honestly, I did not expect such a positive response (some even rushed to introduce the library into their projects and propagandize in every way :). For clarity, I will explain the main ideas:
  1. This is a mini-core. To select elements of the DOM tree. On its basis (or in addition to it) you can develop other modules. But specifically, this functionality is unlikely to expand beyond CSS selectors. The idea is never new.
  2. This is the fastest mini-core. Each line is tested and will be tested for extreme performance in most cases. To this could be the basis of a large project. Otherwise, everything else does not make sense.
  3. The code is open (MIT + GPL). You can use anywhere (even without reference to authorship). Comments on improvements are welcome.


A little


What is this post about? The current version (0.1.6) is fairly stable with CSS1 selectors. I want some beta testing to understand the main bugs ( at the moment there is at least one controversial case: when DOM-methods and main libraries choose a different number of elements for example, with non-unique selections).

Raised a separate host for the library itself and check the speed:
yass.webo.in
there is also a test environment raised with most libraries (thanks to lusever for contributing)
yass.webo.in/slickspeed

Of course, this is all CSS1. But for this and thought
')

List of changes:




Performance increased (compared to 0.1) by: Fx3 (70%), Opera 9.6 (24%), IE7 (37%), Safari (13%). The main changes in productivity: 0.1 -> 0.1.1, 0.1.2 -> 0.1.4, 0.1.4 -> 0.1.6

As soon as I connect SVN via code.google, I’ll post a link.

Small todo




Everything is posted at: yass.webo.in

PS if someone has thoughts on design - welcome :)

Source: https://habr.com/ru/post/46303/


All Articles