update: improve performances
@balessan @clement I applied what we talked about during our last call about performances. Here is what I did:
- use lit-html to render solid-display containers (create a template for each child, render the whole content once at the end)
- add a helper for lit-html (because unable to import it properly from a CDN) which allows to give an object of attributes to apply to an element
- in all the list post-processors, use
resources
as anarray
and not anAsyncIterator
. If we still have some asynchronous tasks, given the fact that we sometimes need to access some properties of the resources, we can now avoid usingfor await
- remove some unnecessary
await
beforeresource.isContainer()
All the tests are ok, I let you try it and comment if you have some feedbacks