[prev in list] [next in list] [prev in thread] [next in thread] 

List:       scilab-users
Subject:    [Scilab-users] * Data compression + Hash + Data maps
From:       Samuel Gougeon <sgougeon () free ! fr>
Date:       2017-02-23 21:23:59
Message-ID: 2544ffcb-00a2-7a81-559b-78f273ec08b8 () free ! fr
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Le 22/02/2017 à 21:50, Amanda Osvaldo a écrit :
>
>
> ** Data compression + Hash + Data maps**
> *
>
> Once I had to work with 30 million vectors, luckily there was an order 
> in the vectors and I could compress them and thus reduce to a few 
> minutes calculations that took hours.
>
> However, I was struck by the lack of support for data structure such 
> as trees.
>
> I'm referring to going beyond the list and struct.
>
> In that case, for example, in addition to compacting the tree data I 
> would send the tree indexes to the macros and the macros would 
> transform into a sequence, do the calculations and return the result 
> as an index of the compressed values.
>
> This requires a number of control and search macros.
>
>
> Hi, since they opened the subject of new updates, I am sending these 
> suggestions.

You may have a look at the *vec2list*() macro, and *pack*() and 
*unpack*()  (may be with some adaptations).

I agree: functions processing containers or data in heterogeneous 
containers are missing or too poor.

Samuel


[Attachment #5 (text/html)]

<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Le 22/02/2017 à 21:50, Amanda Osvaldo a
      écrit :<br>
    </div>
    <blockquote cite="mid:1487796625.30700.1.camel@yahoo.es" type="cite">
      <div>
        <p style="margin-bottom: 0cm; line-height: 100%">
          <meta http-equiv="content-type" content="text/html;
            charset=windows-1252">
        </p>
        <p style="margin-bottom: 0cm; line-height: 100%">
          <title></title>
          <meta name="generator" content="LibreOffice 5.1.5.2 (Windows)">
          <style type="text/css">
		@page { margin: 2cm }
		h1 { margin-bottom: 0.21cm }
		h1.western { font-family: "Liberation Sans", sans-serif; font-size: 18pt }
		h1.cjk { font-family: "Droid Sans Fallback"; font-size: 18pt }
		h1.ctl { font-family: "Droid Sans Devanagari"; font-size: 18pt }
		p { margin-bottom: 0.25cm; line-height: 120% }
		a:link { so-language: zxx }
	</style>
          <br>
          <b>* Data compression + Hash + Data maps</b><b><br>
          </b></p>
        <p style="margin-bottom: 0cm; line-height: 100%">
        </p>
        <p style="margin-bottom: 0cm; line-height: 100%">Once I had to
          work
          with 30 million vectors, luckily there was an order in the
          vectors
          and I could compress them and thus reduce to a few minutes
          calculations that took hours.</p>
        <p style="margin-bottom: 0cm; line-height: 100%">However, I was
          struck by the lack of support for data structure such as
          trees.</p>
        <p style="margin-bottom: 0cm; line-height: 100%">I'm referring
          to
          going beyond the list and struct.</p>
        <p style="margin-bottom: 0cm; line-height: 100%">In that case,
          for
          example, in addition to compacting the tree data I would send
          the
          tree indexes to the macros and the macros would transform into
          a
          sequence, do the calculations and return the result as an
          index of
          the compressed values.</p>
        <p style="margin-bottom: 0cm; line-height: 100%">This requires a
          number of control and search macros.</p>
        <br>
        Hi, since they opened the subject of new updates, I am sending
        these suggestions.<br>
      </div>
    </blockquote>
    <br>
    You may have a look at the <b>vec2list</b>() macro, and <b>pack</b>()
    and <b>unpack</b>()  (may be with some adaptations).<br>
    <br>
    I agree: functions processing containers or data in heterogeneous
    containers are missing or too poor.<br>
    <br>
    Samuel<br>
    <br>
  </body>
</html>


_______________________________________________
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic