Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using string_view #160

Open
cgreening opened this issue Sep 9, 2021 · 0 comments
Open

Using string_view #160

cgreening opened this issue Sep 9, 2021 · 0 comments

Comments

@cgreening
Copy link

cgreening commented Sep 9, 2021

I've been experimenting with this library on a very memory constrained device. I've got as far as parsing the HTML, but rendering ran out of memory.

I saw a reference to using string_view in an issue to reduce memory usage.

What are the problems faced due to default STL allocators? If you worry about performance, you can decrease
number of allocation by using string_view instead string class in the library.

Can you add a bit more information to this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant