perf: reduce memory allocation in some [n..m].method()
use cases
#22542
Labels
Feature/Enhancement Request
This issue is made to request a feature or an enhancement to an existing one.
Describe the feature
[(.+?)..(.+?)].trim_space()
In all string method case use
substr_unsafe
[(.+?)..(.+?)].(.+?)()
vlib/crypto/bcrypt/bcrypt.v
vlib/veb/veb.v and vlib/x/vweb/vweb.v
vlib/io/buffered_reader.v
Use Case
improve performance
Proposed Solution
No response
Other Information
No response
Acknowledgements
Version used
V 0.4.8 3326392
Environment details (OS name and version, etc.)
all
Note
You can use the 👍 reaction to increase the issue's priority for developers.
Please note that only the 👍 reaction to the issue itself counts as a vote.
Other reactions and those to comments will not be taken into account.
The text was updated successfully, but these errors were encountered: