Kurt Stephens

Nerd Up!

Interesting analysis..


The underlying assumption that I question however is that ‘garbage’ is necessarily bad.

At some point garbage gets reclaimed. Interned strings stay around for the duration of the process.. While for some strings (representations of status codes, etc) this is desirable, the default behavior of garbage/recycle, while it burns a few more cycles, so i don’t agree with the implicit interning approach you have (plus, that necesitates ‘’.dup per your example, which is a semantic change I dont think people will like)

I do like the caching for immutables, and dup_if/unless_frozen – and clearly some good investigation went into this… These concepts are useful ones to wield…


Reply

Please solve the math problem above and type in the result. e.g. for 1+1, type 2
The content of this field is kept private and will not be shown publicly.

Primary links

Syndicate

Syndicate content

Browse archives

« February 2012  
Mo Tu We Th Fr Sa Su
    1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29