3 ms·
You mean "whether two values are actually the same 'value'", right? (So, "(cons A (cons B C)) = (cons A (cons B C))" even though allocated separately as two dis
by lurker19 15y ago
You mean "whether two values are actually the same 'value'", right? (So, "(cons A (cons B C)) = (cons A (cons B C))" even though allocated separately as two distinct instances and not cleverly optimized to the same storage in memory) Otherwise, I do not understand your comment, whih is lauding Clojure's preference for values over objects.
- swannodette 15y agoBy "object" I mean same storage in memory. Clojure does optimize literal data and identical? test does come first when using =.