On Fri, Jul 24, 2009 at 5:04 AM, Jan Rychter wrote:
>
>> On Jul 21, 5:51 am, Jan Rychter wrote:
>>> Is there a way to get the size of a data structure in Clojure?
>>>
>>> I've been wondering how much more space-efficient vectors are than
>>> lists, but I don't know how to measure it.
>
> Stuart S
> On Jul 21, 5:51 am, Jan Rychter wrote:
>> Is there a way to get the size of a data structure in Clojure?
>>
>> I've been wondering how much more space-efficient vectors are than
>> lists, but I don't know how to measure it.
Stuart Sierra writes:
> Short answer: no, because Java has no sizeof
On Tue, Jul 21, 2009 at 9:07 PM, Stuart
Sierra wrote:
>
> Hi Jan,
>
> Short answer: no, because Java has no sizeof operator.
>
> You can use Java profiling tools to examine the memory usage of your
> app if needed.
>
I would recommend heading down the path that Stuart suggested. But
interestingly
Hi Jan,
Short answer: no, because Java has no sizeof operator.
You can use Java profiling tools to examine the memory usage of your
app if needed.
Since all of clojure's data structures are persistent (reusable), they
won't necessarily meet your expectations for memory usage based on the
standa
Is there a way to get the size of a data structure in Clojure?
I've been wondering how much more space-efficient vectors are than
lists, but I don't know how to measure it.
--J.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Goo