/explore
|
You are here |
victoriametrics.com | ||
| | | | |
craftinginterpreters.com
[AI summary] The text provides an in-depth exploration of string handling and memory management in a programming language, focusing on dynamic allocation, performance considerations, and Unicode encoding challenges. It discusses the trade-offs between different string encodings (ASCII, UTF-8, UTF-16, UTF-32) and their implications for memory usage and performance. The text also touches on the complexities of representing and manipulating strings in modern programming languages, highlighting the need for flexible and efficient data structures to support Unicode and internationalization. |
|
| | | | | ||
| | | | |
commaok.xyz
Words about Go and software |
|
| | | | | ||
| | | | |
tenderlovemaking.com
[AI summary] The article discusses optimizing the Ruby interpreter's performance by leveraging shared string optimizations in the `features_index_add` function. The key improvements include reducing memory allocations and system calls by using pointer-based substrings instead of Ruby object slicing, and eliminating unnecessary `ruby_strdup` calls by keeping strings alive via the `loaded_features_index_pool` array. This results in a 35% speedup for `require` and a 4% memory reduction in Rails boot processes. |
|
| | | | | ||
| | | | |
cupano.com
My Blog Posts. Contribute to joecupano/blog development by creating an account on GitHub. |
|
| | | |||