Open MPI logo

Hardware Locality Development Mailing List Archives

  |   Home   |   Support   |   FAQ   |  

This web mail archive is frozen.

This page is part of a frozen web archive of this mailing list.

You can still navigate around this archive, but know that no new mails have been added to it since July of 2016.

Click here to be taken to the new web archives of this list; it includes all the mails that are in this frozen archive plus all new mails that have been sent to the list since it was migrated to the new archives.

Subject: Re: [hwloc-devel] merging the valarray branch (with a better name)
From: Jeff Squyres (jsquyres_at_[hidden])
Date: 2012-08-24 05:46:00

On Aug 24, 2012, at 4:26 AM, Brice Goglin wrote:

> The question that remains is about the naming. Right now, it's
> "valarray" but it don't like it. What it really means is "custom array
> of float values". Maybe just "values", or "floats", or "custom floats",
> or ... ?

Random question: why floats and not doubles?

Another name suggestion: cached_floats (cached_doubles)

If the goal is to be able to store some data that will also show up in the XML (and text/gui output?), why not make the mechanism more general? E.g., the values array should be a union, with an enum indicating its type, and support a small number of intrinsic types: float (or double), string, int (and/or long?).

Then you can call it "cached_values", or some such.

Jeff Squyres
For corporate legal information go to: