Project

General

Profile

« Previous | Next » 

Revision b0b9f720

Added by byroot (Jean Boussier) almost 3 years ago

rb_str_resize: Only clear coderange on truncation

If we are expanding the string or only stripping extra capacity
then coderange won't change, so clearing it is wasteful.