[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #49559] Implementation of containers.Map
From: |
Guillaume |
Subject: |
[Octave-bug-tracker] [bug #49559] Implementation of containers.Map |
Date: |
Thu, 2 Feb 2017 17:37:08 +0000 (UTC) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:50.0) Gecko/20100101 Firefox/50.0 |
Follow-up Comment #5, bug #49559 (project octave):
Rik, I was looking at modifying the current implementation following your
suggestion to convert numeric keys to strings. How would you implement the
keys() method, ie recover what the keys were before being converted to
strings? Use sscanf() or str2num()?
Also, in Matlab, keys are also sorted and this would have to happen when the
keys are numeric - as a consequence there might be a lot of conversions back
and forth when entries are added or removed or when the keys(), values()
methods are called.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?49559>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #49559] Implementation of containers.Map,
Guillaume <=