1. Sequence memory usage

I have never been very much interested in Euphoria memory usage, but I've read from time to time some posts about huge amounts of memory consumed by sequences.

The question is: once traslated to C, do Euphoria sequences consume the same amount of memory?

Thanks,

JG

new topic     » topic index » view message » categorize

2. Re: Sequence memory usage

just_me said...

I have never been very much interested in Euphoria memory usage, but I've read from time to time some posts about huge amounts of memory consumed by sequences.

The question is: once traslated to C, do Euphoria sequences consume the same amount of memory?

For starters, sequence do not consume huge amounts of memory. Where some people have been alarmed is when they find out that each character in a text string takes up 32-bits rather than 8-bits. So unless your application is storing gigabytes of text in RAM, you really haven't got much of an issue.

However, to answer your question ... yes the C code also stores sequences the same way as the interpreter does.

new topic     » goto parent     » topic index » view message » categorize

3. Re: Sequence memory usage

Thank you!

JG

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu