Drexel dragonThe Math ForumDonate to the Math Forum

Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.

Math Forum » Discussions » Software » comp.soft-sys.math.mathematica

Topic: Compression Algorithm wanted
Replies: 0  

Advanced Search

Back to Topic List Back to Topic List  

Posts: 1
Registered: 12/11/04
Compression Algorithm wanted
Posted: Jul 17, 1996 1:39 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

I have the following problem:

A compiled function of mine does frequent writes to a list, constantly churning
out new integers within a certain range. Unfortunately, writing to lists from
inside a compiled function is very slow, so, naturally, I want to reduce the
number of writes. Currently, I am using a method to reduce writes by
expressing consecutive numbers as the digits of an integer (eg. {1,2,3} becomes

Does anyone have a method to "compress" the list of integers, or reduce the
number of writes in any way?

Any help is appreciated. Thanks in advance.

--Jonathan Lee

Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2015. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.