Comments (4)
IIRC you can convert the rkyv type into a boxed slice, and then Bytes from a boxed slice, without copies.
Any interest in making a PR?
from leptos.
That will be my first PR but yes definitely!
from leptos.
Just dug into AlignedVec implementation, converting the AlignedVec into a Boxed slice via into_boxed_slice reallocates, "This method reallocates and copies the underlying bytes. Any excess capacity is dropped.".
I will try something else.
from leptos.
Apparently, it works directly with the AlignedVec. Don't know why it failed, before.
Please forget that (non) issue
from leptos.
Related Issues (20)
- Can some documentation regarding web components be added? HOT 4
- Panic with Effect inside nested Suspense in outsite component (tested on `0.7-beta`) HOT 2
- Panic with closure and callbacks in nested Suspense HOT 1
- Island props (default / into)
- Feauture Request: Stream-managed state signal HOT 7
- `<img />` has missing attributes HOT 1
- 0.7 todos
- The on_cleanup function has not been triggered correctly
- ArcAsyncDerived::new_with_initial() setting multiple dependencies will *NOT* hold until the latest change is ready HOT 3
- `leptos_axum::redirect` fails if there is a delay issuing it inside a server function HOT 3
- `ActionForm` with complex args does not work with javascript disabled HOT 2
- Inconsistency in `aria-current="page"` behavior in `<A>`components HOT 1
- Rendering a component in a ProtectedRoute causes resources to be loaded twice
- Content inside of declarative shadow dom is not rendered HOT 5
- Bug: Unexpected Server-Side Resource Evaluation in Leptos 0.7-beta HOT 1
- Inconsistency in client-side query fragment handling HOT 3
- use:directive syntax doesn't work with generic params in Leptos 0.7 HOT 3
- leptos 0.6 fails to compile due to time dependency HOT 2
- GTK example doesn't build on latest main HOT 3
- Implement immediate/synchronous effects HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from leptos.