Project

General

Profile

Actions

Feature #9042

closed

Remove "f" suffix in favor of VM optimization of "literal".freeze

Added by headius (Charles Nutter) about 11 years ago. Updated about 11 years ago.

Status:
Closed
Assignee:
-
Target version:
[ruby-core:57966]

Description

The "f" suffix has been added to Ruby trunk to allow creating pre-frozen literal strings. However, #8992 provides a way the VM could simply optimize #freeze called on a literal string in the same way. If #8992 is accepted, the backward-incompatible "f" syntax should be removed.

Actions

Also available in: Atom PDF

Like0
Like0Like0